PDA

View Full Version : Help with top link styles using anylink



howardf
08-25-2005, 06:29 AM
Script: AnyLink CSS Menu
http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm

Consider the following code:
==============begin snippet================================
<td onmouseover="this.style.backgroundColor='#ffffff';this.style.color='#000000'; dropdownmenu(this, event, 'anylinkmenu1');"
onmouseout="this.style.backgroundColor='000000';this.style.color='#ffffff';this.style.cursor='hand';"><b>Search Jobs</b>
</td>
==============end snippet================================

While the dropdown works just fine, once it has been triggered, the onmouseout styles for the anchor link don't kick in when the dropdown is not extended.

Hope this is clear. :confused: Any help to get the onmouseout styles to work appreciated.

Howard

howardf
08-25-2005, 06:33 PM
For clarity, the on/off styles worked fine without the addition of the dropdown menu. Just want them to work together. Any ideas? Anyone?