Master versus Layers Question

Jan 09, 2014

Hi,

I have a site that has seven navigation tabs across the top of the Master that bring the user to the seven sections of the site.

Some sections have several pages. Some sections have only one page, but several layers.

If I'm exploring my way around one section that has several pages and click on its section tab, I go back to the "section home." Great. That's how I want it.

But, if I am exploring a section that has only one page, AND I'm exploring its layers, THEN click the section tab button for that section...nothing happens. I stay on the layer and not go back to the base layer of the sections home page.

I would rather not have to copy/paste identical Master tab buttons on each layer and give them a "hide layer" trigger.

Any way I can do this from the Master?

Thanks,

Rick 

5 Replies
Steve Flowers

Hey Rick - 

You can vary the behavior of the buttons on your master by using a "proxy" variable. For example:

  • Tab 1 sets variable tabSelect to 1. 
  • Tab 2 sets variable tabSelect to 2.
  • Tab 3 sets variable tabSelect to 3.

You can leave all the logic on the master or on the layer in question. For example: 

  • When variable tabSelect changes, jump to slide X

If want more complex logic, you could move the logic to the slide in question. You could set another variable called layerSelect to indicate your layers and change the navigation based on the selected layer. Since variable changes are transmitted throughout your story, you can communicate between the master and base slides.

Nancy Woinoski

Steve Flowers said:

Hey Rick - 

You can vary the behavior of the buttons on your master by using a "proxy" variable. For example:

  • Tab 1 sets variable tabSelect to 1. 
  • Tab 2 sets variable tabSelect to 2.
  • Tab 3 sets variable tabSelect to 3.

You can leave all the logic on the master or on the layer in question. For example: 

  • When variable tabSelect changes, jump to slide X

If want more complex logic, you could move the logic to the slide in question. You could set another variable called layerSelect to indicate your layers and change the navigation based on the selected layer. Since variable changes are transmitted throughout your story, you can communicate between the master and base slides.


I was going to suggest using variables but thought it might be too much work to retrofit at this point. It is  the way to go with this type of nav.

This discussion is closed. You can start a new discussion or contact Articulate Support.