• When you put mouse over a menu item then second-level layer slides down. When you take mouse out then the layer slides up (hides). It works when you are doing it slowly. When you move faster then the layer cannot reach full height when it need to be hidden. So you use jquery.stop() to abort sliding down and to slide it up immediately. In fact you use jquery(true) to clear the whole animation queue. This makes better outlook but destroys layer parameters.

    As effect when you move fast left-right-left-right, then your layer become permanently shorter and shorter (loose its height) and after a short play it is completely hidden and unavailable.

    I am not jquery guru but I think I have found solution. When I changed jquery.stop(true) to stop(true,true) (to finish animation immediately instead of aborting it) then menu behaves properly and layers do not loose their height.

    https://www.ads-software.com/plugins/widgetize-navigation-menu/

  • The topic ‘Invalid use of jquery’ is closed to new replies.