May 25, 2011 at 4:12 PM #1 Hi!I am using:<script>embedpano({swf:"pano.swf",target:"pano"});</script>But the menu I am using on the page go under the viewer.Do you know what kind of code should I use to avoid this?Many thanks!
May 25, 2011 at 5:47 PM #2 Hi,the Flashplayer element can't be overlayed by HTML elements by default,this has performance reason - the Flashplayer draws directly to the screen,but the Flashplayer has a "wmode" parameter to change that,e.g. wmode="opaque" or wmode="transparent"in both cases the Flashplayer will composite the result with the html page,this is slower but HTML element can overlay it,to set the wmode parameter you need to use the "createPanoViewer" or "createswf" function,these functions have more possibilities,e.g. Code var viewer = createPanoViewer({swf:"krpano.swf",target:"panocontent"}); viewer.addVariable("xml", "pano.xml"); viewer.addParam("wmode", "opaque"); viewer.embed(); see also here:https://krpano.com/docu/swfkrpanojs/best regards,Klaus