However, now there's rumbling from the decision-makers as to whether or not we should move from using the APPLET tag to using OBJECT and EMBED tags.
The convenient thing was that, for non-IE, I could just substitute "document.embeds" in place of "document.applets" and it works.
Not so with OBJECT for IE.
So, is there an equivalent that can be used when/if I have to use the OBJECT tag for IE?
Thanks in advance...
EDIT: Ok, I'm kind of a doofus here - although it didn't work the first time I tried it so I'm convinced the browser's conspiring against me. My results:
IE: OBJECT tag, use document.applets.funcName Firefox: EMBED tag, use documents.embeds.funcName Opera: EMBED tag, both applets and embeds work.
I don't suppose there's some universal sort of keyword here instead of embeds or applets that'll work on everything, is there? [ January 17, 2007: Message edited by: Joe Vahabzadeh ]
Can you just give the object an ID and reference that instead with:
Joined: Nov 08, 2001
if that does not work you can try object detection
Joined: Jan 05, 2005
Thanks for the suggestions.
For the first solution - works in Firefox, but not IE6 or Opera (don't have access to the Mac today to test against Safari)
Looks like if management insists on conversion to OBJECT/EMBED that I'll have to go with your second solution - but I'm trying to convince them to simply keep using the APPLET tag - I don't see any real benefit to switching from APPLET over to OBJECT/EMBED, but I'll admit that I don't know a whole lot about the distinction between the two methods.