Combobox ghosting when going fullscreen

  • Hi-
    I have an issue with the combobox of this tour: http://www.immersium.fr/vr/edenarc360/vr2.html

    When opening the combobox, leave it opened, and clicking on the fullscreen button, the combobox selection keep on the left of the sceen and the normal combobox remains where it should be (at the top right).

    Screenshot HTML page no fullscreen


    Screenshot HTML page fullscreen


    How can I fix it?

    Here is the code of my HTML

    <body>
    <script src="swfobject/swfkrpano.js"></script>
    <div id="container">
    <div id="panoDIV" style="height:100%;">
    <script>
    embedpano({target:"panoDIV",swf:"krpano.swf",width:"650px",height:"450px",allowFullScreen:"true"});
    </script>
    <noscript>
    <div id="tour">
    <object width="100%" height="100%">
    <embed src="krpano.swf" width="100%" height="100%" allowFullScreen="true">
    </embed>
    </object>
    </div>
    </noscript>
    </div>
    </div>
    </body>

    And now the code for the combobox


    <plugin name="combobox" url="krpanodata/graphics/combobox.swf" preload="true" alturl="krpanodata/graphics/combobox.js" keep="true" align="righttop" x="10" y="10" cbdesignscale="1" >
    <item name="combobox0" caption="Place du Capitole" onClick="mainloadpano(krpano0.xml);"/>
    <item name="combobox1" caption="Maison Occitanie" onClick="mainloadpano(krpano1.xml);"/>
    <item name="combobox2" caption="Cité de l'Espace" onClick="mainloadpano(krpano2.xml);"/>
    <item name="combobox3" caption="Hôtel Pierre d'Assézat" onClick="mainloadpano(krpano3.xml);"/>
    <item name="combobox4" caption="Garonne" onClick="mainloadpano(krpano4.xml);"/>
    </plugin>

    Thanks for your help!

  • Hi Thomas,

    In the wait, a workaround to avoid this bug, could be:

    Code
    <events name="combobox_workaround" keep="true" onenterfullscreen="plugin[combobox].closeList()" onexitfullscreen="plugin[combobox].closeList()" />

    SAlut.

  • Hi,

    The bug happens also onresize... So the workaround should include an onresize event too:

    Code
    <events name="combobox_workaround" keep="true"
    			onenterfullscreen="plugin[combobox].closeList()"
    			onexitfullscreen="plugin[combobox].closeList()" 
    			onresize="plugin[combobox].closeList()"/>

    SAlut,

Participate now!

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