b1ak3u5c
03-30-2008, 06:52 AM
I am using a script to create a "tool-tip" type navigation bar where when the mouse is held over a link, the tool-tip appears with sub-links.
I need to use my JavaScript on every page, as it also contains information about which sub-links to display for every base link. These sub-links will be updated rather frequently, which means I would have to go and edit each page for every update.
How do I direct my "onMouseover" to find a JavaScript page on my server so I can update only one page, rather than 20?
Below is what my current link looks like:
<a href="/main/events.html" onMouseover="showmenu(event,linkset[1])" onMouseout="delayhidemenu()">events</a>
Any help would be great! Thanks!
I need to use my JavaScript on every page, as it also contains information about which sub-links to display for every base link. These sub-links will be updated rather frequently, which means I would have to go and edit each page for every update.
How do I direct my "onMouseover" to find a JavaScript page on my server so I can update only one page, rather than 20?
Below is what my current link looks like:
<a href="/main/events.html" onMouseover="showmenu(event,linkset[1])" onMouseout="delayhidemenu()">events</a>
Any help would be great! Thanks!