You are not logged in.

- SZIKRA -

Beginner

  • "- SZIKRA -" started this thread

Posts: 34

Location: Hungary, Szeged

  • Send private message

1

Sunday, July 5th 2009, 4:02pm

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*

2

Sunday, July 5th 2009, 7:01pm

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

- SZIKRA -

Beginner

  • "- SZIKRA -" started this thread

Posts: 34

Location: Hungary, Szeged

  • Send private message

3

Sunday, July 5th 2009, 10:19pm

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);"

4

Monday, July 6th 2009, 10:25am

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