Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Overlay in an Overlay triggered by Widget
#2
Since the buttons on the left are part of the template that includes the nested overlay, you'd do it just like you did the main overlay. Just give the center overlay a name, and have the buttons on the left (which are in the same template) send it commands to load up a new template. It doesn't even really know it's nested in an overlay already.

I guess one concept to keep in mind is that, when you load widgets into an overlay, they aren't just placed into the main template, they are still within that overlay object. They don't know about anything outside of that, and they can for the most part act the same as if they were the base (main) template, but whatever they do only affects the contents inside the overlay they were loaded into.

Except for the special case of global variables that the main template might have created (and which the inner content may depend) you could load the theater template as a top level template and it would basically work the same. The main viewer window is a container and the overlay is a container, and the stuff inside them don't really know or care which type of container they are in, except for some really special case stuff.
Dean Roddey
Explorans limites defectum
Reply


Messages In This Thread
Overlay in an Overlay triggered by Widget - by Dean Roddey - 11-09-2014, 10:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Status of Scheduled and Triggered Events gReatAutomation 4 1,494 04-21-2020, 12:58 PM
Last Post: gReatAutomation
  your sched/triggered/tasker/IFTTT events IVB 17 9,275 01-18-2018, 07:41 AM
Last Post: RichardU
  Video Widget znelbok 67 38,680 04-12-2017, 04:08 PM
Last Post: Dean Roddey
  An idea for a new widget Dean Roddey 5 4,286 03-13-2017, 02:47 PM
Last Post: potts.mike
  Web browser widget Trioxide 7 5,422 02-25-2017, 06:30 AM
Last Post: Trioxide
  Best Way to Handle Wait Times within a Triggered Event kblagron 9 4,892 06-25-2016, 06:03 PM
Last Post: Dean Roddey
  Slider Widget potts.mike 1 2,092 04-19-2016, 04:59 PM
Last Post: Dean Roddey
  Field Incr/Decr Button Widget khill 15 7,788 05-17-2015, 01:04 PM
Last Post: dlmorgan999
  Copy and paste an Overlay Andre 2 2,508 12-23-2013, 03:06 PM
Last Post: Andre
  EmailURLImg in Triggered Events TurboSam 6 3,606 11-23-2013, 01:50 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)