Dropdown-menu above a "referenced" KR panorama - please help

  • This is tricky, but I do hope you script-savvy guys can help me out:

    I know how to make a dropdown-menu extend above an ordinary embedded panorama-swf-file using "wmode" / "transparent". Check "radar-demo" on this page:
    http://www.panoramas.no/H/Kvitsoy/Masten/zoom_demo.html

    The "zoom-demo" on the other hand, is a layered panorama created using Krpano. In this case I can not embed it, but have to make a reference to it to make it work. I can not figure out how to make the dropdown menu extend above this panorama. It works just fine using Safari/Firefox/Opera on a Mac (OSX10.6.4), but not on a PC using Internet Explorer.

    Anybody know how to do this?

  • Hi Vestihavet,

    Have a look at the doc of the swfkrpano.js script methode to embed Krpano...
    The way to set Flashplayer parameters is like:
    swf.addParam(parameter, value);
    So, your code would be:

    Code
    <script type="text/javascript">
    	var swf = createswf("krpano.swf");
    	swf.addVariable("xml","Masten_bigtiff.xml");
    	swf.addParam("wmode", "transparent");
    	swf.embed("swf");
    </script>

    Hope this help...

    SAlut.

  • It worked perfectly. And your answer was within minutes of my posting. Great forum!

    I´ll leave the example as it was, if anybody else is interested. You may see some other panoramas from Kvitsoy here (it is an unfinished work in progress, and yes, the horizon on the radar-zoom-picture is to be level, but I have ordered a new Mac to that and some heavy post-processing of the zoom-pictures)
    http://www.panoramas.no/H/Kvitsoy/Masten/index.html

    Kvitsoy is an island just north of Stavanger in Norway. It was kind of fun to climb the antenna-masts...
    Any comments are appreciated.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!