NetTalk Central

Author Topic: How do I hide / Unhide a menu , using another menu button  (Read 2992 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • Email
How do I hide / Unhide a menu , using another menu button
« 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)
 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: How do I hide / Unhide a menu , using another menu button
« Reply #1 on: May 12, 2013, 09:56:15 PM »
which menu type?

cheers
Bruce

MikeR

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • Email
Re: How do I hide / Unhide a menu , using another menu button
« Reply #2 on: May 13, 2013, 03:36:20 AM »
double drop ???

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: How do I hide / Unhide a menu , using another menu button
« Reply #3 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