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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rollovers not working inside <DIV> tags with Netscape

Status
Not open for further replies.

ProgrammerKC

Programmer
Oct 12, 2000
7
US
I am using JavaScript to change the visibility property of HTML code inside <DIV> tags.
On a mouseover the contents of the <DIV>tags become visible and stay visible for a set period of time. This works fine in both Netscape and IE.
The contents of the <DIV> tags contain graphical links with Javascript rollovers which swap images on mouseovers and mouseouts. This works fine in IE but the images won't rollover with Netscape.
I am guessing that this isn't working because Netscape doesn't recognize the contents of the tags as part of the same document?
Here is how I am coding my <DIV> tags

<DIV ID=&quot;block2&quot; STYLE=&quot;position:absolute; etc etc&quot;>

I am using standard JavaScript code to swap the images.
I haven't been using DHTML long enough to know how to fix this and I haven't been able to find any examples online.
 
Thanks for the URL, it did a great job of explaining how Netscape needs to refer to Div tags.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top