jquery - On click anywhere close slide menu -


I am using a Blueprint Slide and Push menu but the problem is that I need a menu when I close Click on any part of the body, leaving the body.

Please help me I need the code

this can help you is.

  $ (document) .click (function () {if ($ ('yourElement'). (': View')) {$ ('yourElement') SlideUp (300) ;}}); $ ("Your Element") On ('click', function (e) {e.stopPropagation ();});  

Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -