Results 1 to 5 of 5

Thread: AnyLink Drop Down Menu

  1. #1
    Join Date
    Sep 2005
    Location
    Indiana
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Menu

    with this script:
    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    I have multiple menus that i have created, and they all vary in width, is there anyway to set the menuwidth to have variable widths?

    Thanks,

  2. #2
    Join Date
    Sep 2005
    Location
    Indiana
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question fixed the first issue but have a new problem

    I am sure this is just a sytax thing, but for one of the links in one of my menus I need to add a window.open in place of the <a href></a> tags. When I first attempted this none of the menus would show up. I assue it was due to having the javascript of the window.opne embedded in the a tag.

    Also I am not a programmer, so I can easily get lost in syntax

    any help greatly appreciated as the deadline for this project approaches rapidly!

  3. #3
    Join Date
    Sep 2005
    Location
    Indiana
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    here is the code I am trying to edit:
    var menu2=new Array()
    menu2[0]='<a href="amenities.htm"><img src="test_stuff/amentities_menu.jpg" alt="a" border="0"></a>'
    menu2[1]='<a href="http://www.webervations.com/magic-scripts/resbook.asp?memberid=ff"><img src="test_stuff/availability_menu.jpg" alt="a" border="0"></a>'
    menu2[2]='<a href="policies.htm"><img src="test_stuff/policies_menu.jpg" alt="a" border="0"></a>'

    I need it to be:
    var menu2=new Array()
    menu2[0]='<a href="amenities.htm"><img src="test_stuff/amentities_menu.jpg" alt="a" border="0"></a>'
    menu2[1]='<a href="http://www.webervations.com/magic-scripts/resbook.asp?memberid=ff"><img src="test_stuff/availability_menu.jpg" alt="a" border="0"></a>'
    menu2[2]='<a onClick="javascript:window.open('policies.htm', '_blank', 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=500,height=750,left=50,top=50')" href="#" class="reg"><img src="test_stuff/policies_menu.jpg" alt="a" border="0"></a>'

    or what ever it needs to be to work!

    thanks

  4. #4
    Join Date
    Sep 2005
    Location
    Indiana
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    any help would be great!

  5. #5
    Join Date
    Oct 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    read on the page, it tells you how to resize them.....its very simple you just change the pixle amount from like 165px to 70px

    <a href="default2.htm" onClick="return dropdownmenu(this, event, menu2, '200px')" onMouseout="delayhidemenu()">News Sites</a> (onclick)

    on that kind of command change the px value

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
  •