Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder Andy92's Avatar
    Join Date
    Nov 2005
    Location
    Horsham, West Sussex, UK
    Posts
    363
    Thanks
    7
    Thanked 1 Time in 1 Post

    Making a Javascript Hover Menu?

    Hi there,

    I am looking to make a javascript hover menu. Like the main hover menus at websites like...

    http://www.godaddy.com

    and

    http://www.mediatemple.com

    How can i do this? Are there any tutorials? And is javascript the best language to do this in, or ajax or web2.0 ?


  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,467
    Thanks
    3
    Thanked 495 Times in 482 Posts
    activating by mouseover, down, up, or click is easy.

    mouseout which the menus use for closing the menu is tricky due to event bubbling.

    Have a snippet that takes care of this but do not know your level of expertise.

    Suggest you have a go at a menu, many examples available.

    Then post your code for assistance if required.
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #3
    Regular Coder Andy92's Avatar
    Join Date
    Nov 2005
    Location
    Horsham, West Sussex, UK
    Posts
    363
    Thanks
    7
    Thanked 1 Time in 1 Post
    Ok,

    Im not really that great at javascript, but is there any tutorials on the internet explaining how to do this.

    I cant really write javascript, but when i have it from a tutorial or something, i know how to edit it.

  • #4
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,467
    Thanks
    3
    Thanked 495 Times in 482 Posts
    I've just produced this

    http://www.codingforums.com/showthre...588#post535588

    If you want me to walk you through it, I will.
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #5
    New to the CF scene
    Join Date
    May 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi
    i am looking for javascript in hover menu can u help .
    please do help

  • #6
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,133
    Thanks
    12
    Thanked 332 Times in 328 Posts
    when it comes to hover menus, I usually recommend the Suckerfish Dropdown.
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer


  •  

    Posting Permissions

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