fullscreen onload, or (leave)

  • Hello!

    The onclick="switch(fullscreen)" why is work, and the onloaded="switch(fullscreen)" why not?....

    I would like to click a hotspot,witch onloaded the new panorama, wich load fullscreen. Then I will go back the pervious panoprama, the screen to be not full screen.

    Do you anderstand....?...
    *rolleyes*


    Thanks the answers *squint*

  • You could set up your plugin to do an action on click that first resizes the window and then
    loads the new pano.


    set(fullscreen,true);
    loadpano(blah.xml);

    or
    set(fullscreen,false);
    loadpano(blahblah.xml);

    have an action set for each way you want the window to resize.


    Hope this is helpful.

    Jarredja

  • Thanks, the problem that was , that I dont take the first place...

    the right source code this... *g* I didnt think it..


    onclick="switch(fullscreen);loadpano(DSC_0114_ingatlan_cafe.xml,null,KEEPALL,ZOOMBLEND(1,2));lookto(-340,5,90, smooth(100,50,40));action(icafe_logo_meg);action(info);action(onstart_udv);action(bejarhato_ingatlanok_meg);action(aktualis_meg);action(naphold_114_meg);action(munkatarsaink_meg);"

  • Hi,

    switching to fullscreen mode is limited by Flash:
    it can only be done as reaction to an user-input (like an click or keyboard press)

    thats the reason why - onloaded="switch(fullscreen)" - don't work, there was no user input event before,

    best regards,
    Klaus

Participate now!

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