PDA

View Full Version : AnyLink CSS drop down menu with rollovers



emjaces
07-24-2007, 10:09 PM
1) Script Title: AnyLink CSS drop down menu with rollovers

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm

3) Describe problem: Hello all! I am currently wanting to use the AnyLink CSS Menu on an image with rollover effects. I have the script installed, but the issue i am running into is that when i rollover the image, the menu appears, but when I mouseout, the image does not return to the "mouseout" state, it simply remains on the mouseover image. The menu appears to be doing whats its designed to do, but i have an issue when i try to implement it with my rollover. Is there any resolution for this or is it even possible to use this script in conjunction with rollover effects? Thanks in advance for any solutions!

jscheuer1
07-25-2007, 04:08 AM
Just apply your rollover (onmouseover and onmouseout) code to the image tag, not to the link tag.

ianruz
07-26-2007, 07:02 PM
i used that code... and when i v iew it in firefox... i get a blue border around the link... but not in any other browser...

jscheuer1
07-26-2007, 07:50 PM
i used that code... and when i v iew it in firefox... i get a blue border around the link... but not in any other browser...

Well, that is really a separate issue and has to do with style. If you just make sure that there is no border (styles are best set in a stylesheet - shown here inline with the tag):


<img style="border:none;" src="whatever.jpg">

There should be no border. It is possible (not real likely) that the line you see has nothing to do with the image's border. In that case, it would be the style of the link that holds the image. If so, that should be set:


text-decoration:none;