I'm trying to make a popup image open and close from an animation. I'm trying to trigger it from a button to start with.
According to the javascript API, this is what I need:
Code: Select all
pano.activateSound(id:String)
Pop out the image or video.
I can toggle the media's visibility using action:media, type:Visibility on a button, but I want to take advantage of the built-in animation provided by a popup image.
I've also tried action:media, type: Activate Media but my image ID does not appear in the target pulldown
I've also tried click() with no success
Any tips on how to trigger a popup image from a button or animation?
Thanks
John