Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Works perfectly in Netscape - IE hates it.

Status
Not open for further replies.

heidi

Programmer
Jun 8, 1999
14
US
Help! Here's a call, encased in a body tag, to do an image rollover in another frame:<br>
<br>
onLoad="parent.Menu.changeOnClick(7)"<br>
<br>
It works just fine in Netscape (4.5), but IE 5 burps on it. Can anyone tell me how to specify code from another frame in IE?
 
IE doesn't have an "image" object....thus you CAN NOT use JS to do rollovers in IE :(<br>
You might try asking around on the Java forum though...IE DOES support applets that will do the same thing (I just don't know how to)<br>
<br>
<br>
-Robherc<br>
robherc@netzero.net
 
Yes, you can use JavaScript to roll images over in IE. I've done so many times - including in the website I'm referring to. The problem seems to be associated with how I'm calling the page that the code is on.<br>
<br>
It was not possible in IE3, but IE4 added the Image object.<br>
<br>
Does IE support the Parent object?<br>
<br>
-- Heidi
 
Hmmm... I had just been told (about 50x) that no version of IE (up to 4.0) will support the image object...guess I'd better start doing some compatibility testing!<br>
As far as the parent call, I don't know if it works in IE or not; but you might try a call to "top" instead, I would think that at least ONE of the two would work.<br>
<br>
<br>
-Robherc<br>
robherc@netzero.net
 
Thanks! That sounds like a good idea. Of course, now that I've been messing with it, it no longer works in Netscape, either. Arrrgh!<br>
<br>
Here's something else you might know more about: Netscape does not require semi-colons at the ends of statements. It seems that IE does. Do you know of any other syntactical differences between the two?<br>
<br>
-- Heidi<br>
heidi@cyber-dyne.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top