Results 1 to 2 of 2

Thread: onMousever vs Clicked on

  1. #1
    Join Date
    Nov 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default onMousever vs Clicked on

    1) Script Title: AnyLink CSS Menu

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

    3) Describe problem: Installed the script and it works great. would like to tweak one little thing though. I would like for the menu to appear when the user clicks on the anchor instead of when they just mouse over it. IS that possible?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Firstly, edit the anchor link to use onClick instead to call the dropdownmenu function:

    Code:
    <a href="http://www.dynamicdrive.com" onClick="dropdownmenu(this, event, 'anylinkmenu1'); return false">Anchor Link</a>
    Then, use the attached modified anylink.js file instead.

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
  •