i m trying to make a multiple level slide in-out menu in juqery.. i m able to open one div.. but not able to hide open div and show the clicked one..

this is my work.. click menu1 only working.. when i click menu2 everything goes work.. please have a look of view source code and help me.. thanks

demo.websitedemolink.co.in/bhu/demo-self.html

you're just calling showf() for menu1,3,4,5 whereas hidef() with menu2. Try thinking of calling show and then hiding other menu instances.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.