declaring width of panorama in html file

  • Hi!

    I have problems to set the widht and height of panorama in the html file
    Here is typical line of code from html file:
    var so = new SWFObject("krpano.swf","krpanoSWFObject","100%","100%","9.0.28","#000000");

    If the file with this code is loaded first it is all right, but at first I load the another file with another width and height:
    var so = new SWFObject("krpano.swf","krpanoSWFObject","980","200","9.0.28","#000000");

    It works, but if I load then another file with 100% sizes like this:
    var so = new SWFObject("krpano2.swf","krpanoSWFObject","100%","100%","9.0.28","#000000");
    it stays with previous smaller sizes not full 100% size.

    Do you have the same problem?

    Greg

Participate now!

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