background color of pano

  • Hello,
    I can only set background color with this code:

    Code
    <script type="text/javascript">
    
    
    	var swf = createswf("001.swf","krpanoSWFObject", "100%", "100%", "#ffffff");
    	swf.addVariable("pano","001.xml");
    	swf.embed("krpanoDIV");
    	
    </script>

    But these two examples are not working:

    Code
    <script type="text/javascript">
    
    
      var viewer = createPanoViewer({swf:"001.swf",target:"krpanoDIV",bgcolor:"#ffffff"});
      viewer.addVariable("xml", "001.xml");
      viewer.embed();
    
    
    </script>
    Code
    <script>
    		embedpano({swf:"001.swf", xml:"001.xml", target:"krpanoDIV", bgcolor:"#ffffff"});
    </script>

    What's wrong ?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!