I've being messing with this a lot time now but I can't figure it out...
I know that I can use a VDJ Script Command to SHOW a panel, but it doesn't work as expected:
Let's say that you have 2 panels on your skin, one for audio and one for video:
Pannel id="Audio" group="Main"
Pannel id="Video" group="Main"
If I define the video panel to show when Video is active like
Pannel id="Video" group="Main" visible="video"
it does show the panel when the video is activated.
However when the video is de-activated the panel just turns off without the "audio" panel turning on...
I tried to use commands like:
Pannel id="Audio" group="Main" visible="video off"
Pannel id="Audio" group="Main" visible="video ? no : yes"
Pannel id="Audio" group="Main" visible="video on ? no : yes"
But none of this commands works...
Does anyone knows how you can "force" the "video" panel to restore the "audio" panel when it shuts of, or how to make "audio" panel to show when "video" panel is off?
PS: I don't need to do this just for video... I have several places I need to automatically "toggle" various panels based on various states of the app. It just baffles me that queries don't seem to work... :(
I even tried
Pannel id="Audio" group="Main" visible="skin_panel 'Video' off"
but it doesn't work either...
I know that I can use a VDJ Script Command to SHOW a panel, but it doesn't work as expected:
Let's say that you have 2 panels on your skin, one for audio and one for video:
Pannel id="Audio" group="Main"
Pannel id="Video" group="Main"
If I define the video panel to show when Video is active like
Pannel id="Video" group="Main" visible="video"
it does show the panel when the video is activated.
However when the video is de-activated the panel just turns off without the "audio" panel turning on...
I tried to use commands like:
Pannel id="Audio" group="Main" visible="video off"
Pannel id="Audio" group="Main" visible="video ? no : yes"
Pannel id="Audio" group="Main" visible="video on ? no : yes"
But none of this commands works...
Does anyone knows how you can "force" the "video" panel to restore the "audio" panel when it shuts of, or how to make "audio" panel to show when "video" panel is off?
PS: I don't need to do this just for video... I have several places I need to automatically "toggle" various panels based on various states of the app. It just baffles me that queries don't seem to work... :(
I even tried
Pannel id="Audio" group="Main" visible="skin_panel 'Video' off"
but it doesn't work either...
Inviato Mon 08 Nov 10 @ 6:09 am
Self - solved just after typing this.... :P
Pannel id="Audio" group="Main" visible="video ? off : on"
Pannel id="Video" group="Main" visible="video ? on"
I had to use on/off instead of yes/no.... O_o Go figure... :P
Pannel id="Audio" group="Main" visible="video ? off : on"
Pannel id="Video" group="Main" visible="video ? on"
I had to use on/off instead of yes/no.... O_o Go figure... :P
Inviato Mon 08 Nov 10 @ 6:26 am