+ Reply to Thread
Results 1 to 3 of 3

Thread: Help with my drop down menu?

  1. #1
    ryanmm is offline x10Hosting Member ryanmm is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    36

    Help with my drop down menu?

    Would anybody be willing to take a look at the drop down menu on my splash page:
    http://www.rrm.x10.mx/

    The drop down seems to have a mind of it's own!

  2. #2
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: Help with my drop down menu?

    Well, if it's any consolation, that menu is one of the best on-line games out there at the moment. It's also a great illustration of why I hate JavaScript menus in general, especially if they have transition effects. CSS-driven menus rely on the hover state of the underlying element. The mouse is either over the element or it isn't. JavaScript menus don't monitor the steady-state mouse position; they rely on the mouseover and mouseout events. The problem with doing things that way is that the code needs to notice the moment when the cursor crosses from outside the element to the inside (and vice-versa), and while the transition effect is happening (and the code can't listen) the mouseover or mouseout event can occur unnoticed. That seems to be the case with your menu -- you can mouse out while the expand transition is happening, and the menu gets stuck open until you mouse over again (then works "backwards"). Another couple of nudges and it's back to normal. Because the edges of the active areas aren't clearly visible, it's just too easy to fall of the edge of the earth, as it were, especially while the accordion transition is happening.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  3. #3
    kariciu is offline x10Hosting Member kariciu is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    2

    Re: Help with my drop down menu?

    check the css. Seems like the sizes of the menu are wrong, and the javascript is geting the on hover event in an area where there should not be any element to triger an action. Or set the menu to execute the function on click , not on hover.

+ Reply to Thread

Similar Threads

  1. Redisplaying a drop-down menu choice...
    By jbdesign in forum Programming Help
    Replies: 3
    Last Post: 06-03-2009, 09:48 PM
  2. Css drop down menu
    By vidhem in forum Programming Help
    Replies: 10
    Last Post: 12-12-2008, 01:33 PM
  3. Drop Down Menu -> Mysql
    By White-Fox in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 09-01-2008, 02:20 PM
  4. help!! coding advanced drop down menu
    By zynischen in forum Programming Help
    Replies: 3
    Last Post: 04-25-2008, 05:14 PM
  5. Drop-Down Menu problems
    By gmshed in forum Programming Help
    Replies: 3
    Last Post: 04-11-2008, 12:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers