Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Javscript Question |
From: | Eric Dunham |
Date: | Sun, 30 Jan 2000 22:17:10 GMT |
All three of those browsers support different properties/methods, and a few
of them use different object hierarchies, etc. You might want to try using
window.document.print(), document.print(), etc. You can look for object
propeties and methods at a number of sites on the internet. You might want
to try WebDevelopersJournal.com and the Netscape Javascript Reference Guide
(I forgot the exact URL, but it should be easy to find).
-Eric
-----Original Message-----
From: ownerchinwag [dot] com [ownerchinwag [dot] com]On">mailto:ownerchinwag [dot] com]On Behalf Of Rick Koch
Sent: Sunday, January 30, 2000 10:41 AM
To: flasherchinwag [dot] com
Subject: FLASH: Javscript Question
Hi All,
>From my flash piece, I'm calling up a new, smaller browser window
containing a text-only version of the page and I want the print dialog
box to pop up automatically so all the visitor has to do is click OK to
the print request.
No problems calling up the new window from Flash but in the html of the
new window I'm using the following:
<SCRIPT>
function printIt() {
window.print();
}
</SCRIPT>
</head>
<body onLoad="printIt()" link="#006600" vlink="#006633" alink="#009933"
bgcolor="#FFFFFF">
<div align="center">
etc.
I thought this worked for me before cross platform (at least in versions
4 of Netscape, IE and AOL) but today, mysteriously, it only works in
Netscape.
In both IE 4.0 and AOL 4.0, the new window open ok but then a script
error window pops up saying... object doesn't support this property or
method...
so the print dialog fails to pop up.
Any ideas on a reliable script for all of these browsers to "force" the
print dialog box to open on load?
Thanks so much,
Rick K.
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The Worlds Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Javscript Question, Rick Koch
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]