jave script problem: works in ie not...
My script will open a pop-up followed the print window in both browsers. Clicking on the print button in ie will yield a hard copy. However in firefox it goes through motion but nothing happens.
I’m using the following script:
<!--
<script type="text/javascript">
function openWin()
{
myWindow=window.open('91060_print.html','','width=400,height=400,resizable=1,scrollbars=1,left=200,top=200');
myWindow.focus();
myWindow.print();
}
</script>
–>
So what am I doing wrong?
I’m using the following script:
<!--
<script type="text/javascript">
function openWin()
{
myWindow=window.open('91060_print.html','','width=400,height=400,resizable=1,scrollbars=1,left=200,top=200');
myWindow.focus();
myWindow.print();
}
</script>
–>
So what am I doing wrong?
Do you have FF configured to disable printing from script?
Visit <a href="http://leviabbott.com" target="_blank">LeviAbbott.com</a>!
No printing from script is not disabled.
Can you post a link?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Here's a link to my test page: http://www.mwlist.com/test/
It worked for me in FX 3.6.15. IE 8 ran as long as I used compatibility mode.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Eric, Thank you for your help. I must have an incorrect setting in firefox.
Works for me in FireFox 3.6.15
Living the dream, stocking the cream

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.