manojnaanak Posted December 18, 2012 Share Posted December 18, 2012 hello everyone, i have problem with menu, actually i have clickable menu when i click it goes open n click again goes close..but problem this is i want it close also when i click any where on page. this is link http://datanova.co.in/dnitest/index.html thanx in advance Link to comment Share on other sites More sharing options...
miela1 Posted December 18, 2012 Share Posted December 18, 2012 (edited) hej, You kud, add an onClick event on page, then ask menu tu close when the page is clicked. $('#page').click(function () {#('#menu').hide() //or what else you use to close you menu}); i have yoused this many times, it may not be prity, but it is simpel and it wil hide you menu. hobe it Helps, Mikkel Edited December 18, 2012 by miela1 Link to comment Share on other sites More sharing options...
manojnaanak Posted December 19, 2012 Author Share Posted December 19, 2012 hello miela, i have fixd it. thanks for your suggestion. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now