Results 1 to 2 of 2

Thread: AnyLink Drop Down Menu - onclick issue

  1. #1
    Join Date
    Nov 2007
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Menu - onclick issue

    1) Script Title:

    AnyLink Drop Down Menu

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) Describe problem:

    My problem can be seen on this page:

    http://www.wideconcept.com/test.html

    Basically, what I need to do, is to let the users click on a link and see a menu, which should not disappear until they click elsewhere on the screen. This works.

    However, it doesn't behave exactly how I would like it to behave when the users click on a link and then click on a second link -- when the second link is clicked, I need it to make the first menu disappear and the second menu appear at the same time. As it is now, when the user clicks on the 2nd link, the original menu simply dissappears.

    I guess this is something easy to do, however my javascript knowledge is *very* limited so I need your help!

    Thanks,
    bill.

  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

    Code:
    <a href="default2.htm" onClick="hidemenu();return dropdownmenu(this, event, menu1, '200px')">Link 1</a> (onclick)
    
    <a href="default2.htm" onClick="hidemenu();return dropdownmenu(this, event, menu2, '200px')">Link 2</a> (onclick)
    Note: I see that you have altered the script itself. If you still want the menus to disappear when moused out, you should reinstate the full original script.
    - 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
  •