PDA

View Full Version : AnyLink Drop Down Menu



shevi2027
02-03-2006, 02:22 PM
Hello ^^

In the section Menus & Navigation -> AnyLink Drop Down Menu (http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm)

I have a problem. I use CSS style to position my image that i use for the drop down menu link. Only think is that even when the images are inserted in different places, when i move the mouse top of the image the drop down menu opens exactly in the same place. (top of the page) and not underneath the button O_O How can i fix it??

Here is the code i use



<a href="default.htm" onClick="return clickreturnvalue()" onMouseOver="dropdownmenu(this, event, menu1, '100px')" onMouseOut="delayhidemenu()"><img src="Images/button4.jpg" border="0" style="position: absolute; top: 15px; left: 2px"></a>
<a href="default.htm" onClick="return clickreturnvalue()" onMouseOver="dropdownmenu(this, event, menu2, '100px')" onMouseOut="delayhidemenu()"><img src="Images/button4.jpg" border="1" style="position: absolute; top: 15px; left: 100px"></a>


Thank you.

jscheuer1
02-03-2006, 09:00 PM
Get rid of the inline style for the images. That may help, otherwise:

Please provide your code -

. (Best)

OR:

Put code tags:




code goes here



around your code in a message here so that it appears like so:




code goes here