SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2010
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript hide list help

    hi guys,

    i want to create a link where a user can change the category that he is browsing.

    when the user clicks on the link, a list of categories appear in the dropdown, but when the mouse is not over the list, the list disappears and the user only sees the link. The list contains hyperlinks to new category pages.

    I know this is very basic for u geeks, but u see im very new to javascript.

    I create a div for the list and hid it and created an onclick event for the link, but when the list of categories appear, the page moves down. i dont want that to happen.

    Please help.

    Thanks in advance.

  2. #2
    Non-Member Kalon's Avatar
    Join Date
    Aug 2010
    Location
    At my computer
    Posts
    2,012
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    post the code you have so far and we can try to help you get it working properly.


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
  •