Beg. Javascript 2nd Ed Ch 13: IE_NN_Menus.htm
Beginning Javascript 2nd Edition, Chapter 13, IE_NN_Menus.htm
This chapter looks at creating a popup dhtml menu using javascript code for both the IE and Netscape browser enviroments.
Using this as a starting point, i've manipulated the code to make my menu images live inside a table and not the layers as this example demonstrates.
I can get my menus to roll over in both Mozilla Firefox and MS IE 6 without a problem as well as naviagate to the desired pages.
The problem i have is that every object within the document that has an event handler is responding to the rollover and rollout functions.
I understand that the code to specificaly identify just those cells within a table that need to react to these events have had their normal <TD> html tags changed to <TD rollover rollout>, which when the object is passed into the rollover and rollout functions all obejcts are checked to see if they contain these parameters and if they do ONLY then should the table roll in and out effects be initated.
However, this simply is not happening and despite much deliberation on my part i can not find the error.
I think my problem may lie within the createmenu For loop. Please help!
This may be clearer to see if you look at my code which i am happy to send on if anyone can help me on this!
|