SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2010
    0 Post(s)
    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
    At my computer
    0 Post(s)
    0 Thread(s)
    post the code you have so far and we can try to help you get it working properly.


Posting Permissions

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