NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on May 12, 2013, 09:02:23 AM

Title: How do I hide / Unhide a menu , using another menu button
Post by: MikeR on May 12, 2013, 09:02:23 AM
I have an app that has 2 menu stuctures.
I want to toggle the 2nd menu off and on by use of a button on the first menu.

1 thought of using a sessionvariable to set to True or false
I can use the sessionvariable on each of the second menus item as a condition

I just don't know how to execute the relevant code when the 1st menu bottun is pressed.
ie. thats all I want the button to do, not show a particular page, It must stay on the page that is displayed just toggle the menu (or run some clarion logic)
 
Title: Re: How do I hide / Unhide a menu , using another menu button
Post by: Bruce on May 12, 2013, 09:56:15 PM
which menu type?

cheers
Bruce
Title: Re: How do I hide / Unhide a menu , using another menu button
Post by: MikeR on May 13, 2013, 03:36:20 AM
double drop ???
Title: Re: How do I hide / Unhide a menu , using another menu button
Post by: Bruce on May 14, 2013, 04:38:20 AM
I think you need to post a small example Mike.
You'll need to embed JavaScript to turn the menu on and off.

cheers
Bruce