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

Events and Nested Layers??

Status
Not open for further replies.

jchastai

Programmer
Oct 11, 2001
31
US
How can I get events to fire in Netscape 4 with nested layers?

<div id=&quot;frame&quot;>
<div id=&quot;sub1&quot; onMouseOver=&quot;doThis();&quot; onClick=&quot;doThat();&quot;>Sub 1</div>
<div id=&quot;sub2&quot; onMouseOver=&quot;doThis();&quot; onClick=&quot;doThat();&quot;>Sub 2</div>
</div>

This works fine with IE and NS6, but with NS4, the events never fire. The only way I can get an event to fire is to put the event handler in the outer layer frame and then I do not know which sub layer caused the event.

Beyond the fact that NS4 is a piece of junk, does anybody else have some workable solutions?

Thanks
-- Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top