Sie sind nicht angemeldet.

1

Montag, 3. September 2012, 15:20

Simple plugin or HTML layer to change scenes

I would like to create something similar to combobox plugin, but i want to use my own html elements like radio buttons to select different scenes... does anyone have a simple example to create this? even if it's not a plugin... it can be a side panel layer with html elements but when clicked it must change the current scene.

2

Sonntag, 9. September 2012, 11:18

Hi,

first - you wouldn't need to set the wmode embedding parameter to 'opaque' to allow html content overlapping the Flashplayer,
see here:
http://krpano.com/docu/html/#wmode

then you can create your own html stuff and overlap the viewer with it (use absolute positioning and z-index if necessary),

and for communicating with krpano use the Javascript Interface and the js() action,
see here:
http://krpano.com/docu/js/#top
http://krpano.com/docu/actions/#js

Best regards,
Klaus