Results 1 to 2 of 2

Thread: AnyLink Drop Down Menu

  1. #1
    Join Date
    Feb 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy AnyLink Drop Down Menu

    Hello ^^

    In the section Menus & Navigation -> AnyLink Drop Down Menu (http://www.dynamicdrive.com/dynamici...pmenuindex.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

    Code:
    <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.
    Last edited by shevi2027; 02-03-2006 at 03:31 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Get rid of the inline style for the images. That may help, otherwise:

    Please provide your code -

    PLEASE: Include the URL to your problematic webpage that you want help with. (Best)

    OR:

    Put code tags:

    [code]

    code goes here

    [/code]

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

    Code:
    code goes here
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •