how do I adjust the height in beta 9 ?

  • In beta8 and earlier I adjusted the height to 92% like this

    // if (typeof(deconcept) !== 'undefined')
    {
    if (deconcept.SWFObjectUtil.getPlayerVersion().major >= 6)
    {
    var so = new SWFObject("krpano.swf", "krpanoSWFObject", "100%", "92%", "9.0.28","#000000");

    so.addParam("allowFullScreen","true");

    so.useExpressInstall("./swfobject/expressinstall.swf");
    so.setAttribute("xiRedirectUrl", window.location);

    so.addVariable("pano", "orstafranivane.xml");

    if ( so.write("krpanoDIV") ) { var mousewheelfixes = new SWFkrpanoMouseWheel(so); }
    }
    else
    {
    document.getElementById("krpanoDIV").innerHTML = 'ERROR:

    Adobe Flash Player 9 needed


    [url='http://www.adobe.com/go/getflashplayer/']
    ...click here to download...


    ';
    }
    }
    else
    {
    document.getElementById("krpanoDIV").innerHTML = 'ERROR:

    ./swfobject/swfobject.js not found


    ';
    }
    // ]]>


    In beta9 this is changed (simpified) to:'

    // var swf = createswf("krpano.swf");
    swf.addVariable("xml","orstafraytrehovden.xml");
    swf.embed("krpanoDIV");
    // ]]>


    And I cannot find a way to adjust the height to e.g. 92%
    Do anyone have an idea ?
    leif

Participate now!

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