vvr
vvr

Reputation: 466

Hide Menu on mouse out

I have used this plugin-in to create a navigation menu. Added a new div which is placed left side when on mouse over of it, showing the menu and also on click of text show/hide showing menu.

But having problems like below:

 1. Menu is not hiding some times.
 2. Navigating in same menu also it is hiding fractionally and showing.

Anybody please suggest me what I am missing to work this perfectly.

Here is the link for JS Fiddle

Upvotes: 1

Views: 797

Answers (1)

talhatahir
talhatahir

Reputation: 85

Try updating this part of the code:

navigationMenu.onmouseout = function() {
        classie.toggle( navigationEdge, 'active' ).delay(100);
        classie.toggle( showLeft, 'active' );
        classie.toggle( menuLeft, 'cbp-spmenu-open' );
        };

Upvotes: 2

Related Questions