what's the problem in IE

  • I follow the example code of Javascript interface to make a list pano
    there is five lists, click on each one ,the beneath div can show different pano, they all work well in firefox ,but in IE, they are all invalid, include the a:hover is not working, what's the problem, it confusses me much time! *confused*

  • Hi Klaus,

    Of course. I know the <object> / <embed> tags are Flashplayer Plugin only.

    But I am so confuse why not work to change XML/pano on iphone by (embedpano({swf:"test2.swf", xml:"test2.xml", target:"pano"})

    Link: (work at IE, but not work at iphone) *sad*
    http://www.minkeystudio.com/test3/#


    Could you give me simple example which can change XML/pano by javascript ,while it support both IE and iphone? Thanks you very much.

    I found your example (https://krpano.com/examples/javascript1/) which is not support iphone/ipad.


    Best Regards,
    MInkey.

  • Hi,

    you can change the xml by the loading a new xml with the loadpano() action,
    're-embedding' the whole viewer itself doesn't work,

    have a look at the included Javascript examples from the viewer download package,
    they work also on iPhone/iPad,

    best regards,
    Klaus

  • Hi Klaus,

    I am happy to get your reply *smile*

    I try to use loadpano(). but not work both on Iphone/IE. *sad* *sad* *sad*

    http://www.minkeystudio.com/test3/index2.html

    I would like to clarify if loadpano() can only work inside XML? not work at javascipt function?


    "re-embedding" Only work on IE/Safari/Firefox. not work on Iphone/Ipad. In fact, is it possible which can change XML/pano by javascript without refreshing the browser ,while it support both IE and iphone?


    "have a look at the included Javascript examples from the viewer download package,
    they work also on iPhone/iPad,"
    <<<<< I dont' know why it is not work for me (I am using 3GS and ver3.1.2), Is my version too old?

    Best Regards and Thanks,

    Minkey

  • Thanks klaus, they are done well by javascript, and I see the javascript examples in the viewer download package, and make an other attempt. the script part is:

    Code
    <script type="text/javascript">
    function krpano(){
    return document.getElementById("krpanoSWFObject");}
    function closespot(){
    krpano.set("hotspot[hs1].visible","false");}
    function openspot(){
    krpano.set("hotspot[hs1].visible","true");}
    </script>


    the Html part is

    when I click on them ,they all dont work, what's wrong! Thanks!

Participate now!

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