Urgent help in dropdown menu
Hi
I had been trying to create a drop down menu in java script, very similar to a "file" menu in any application
I have a main horizontal and on the mouseover on each element, I have a drop down menu appearing below the element and on the mouseover on each element of the drop down menu, a menu will appear at the right of the element.
I am having problems in capturing the mouseover and mouseout events of these elements. All the menu elements are "td"s of html table. When I try to make the menus visible and hidden based on the mouseover and mouseout of the table, it acts differently. I mean when I move the mouse to the "tr" or "td", it is considering it as mouseout for the "table" context. So that makes implementation difficult.
Is there not an option to consider all the elements within an table "tr" and "td", as one unit? I mean I dont want different events to be captured within the "table" itself!!
Your help will be highly appreciated!
Thanks
Vignesh.
|