SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2005
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    css dropdown menu problem

    Hi,

    I've used css and javascript to build a menu for a site that I've been working on but have a slight problem - The menu doesn't disappear when the mouse rolls off into the page area (although it does when moved across he menu itself). Can anyone point me in the right direction to fix the problem.

    Oops, nearly forgot to link! LINK REMOVED
    Thanks
    Last edited by dawn8; Oct 9, 2007 at 07:16. Reason: Problem fixed.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,300
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    HI,

    Looks like more of a javascript question than a css one as it seems you need to set a mouseout behavior to turn the menu off.

    I would consider upgrading to one of the suckerfish examples that use unobtrusive scripting.

    http://www.htmldog.com/articles/suckerfish/dropdowns/

    Otherwise you will need to ask this question in the JS forum. (I'll can move the thread there anyway).

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2005
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Paul,

    I was having one of those days, I've now amended my JS and got it working.


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
  •