

Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comdo i understand right and are your spots child to the map?? the right map?
also watch out for giving things a name that you already use...
|
|
Quellcode |
1 |
txtadd( plugin[map].url, get(imgdir_tour_url), "FloorMap/", get(floordata.map) ); |
|
|
Quellcode |
1 2 3 |
if (plugin[map].url === "", txtadd( plugin[map].url, get(imgdir_tour_url), "FloorMap/", get(floordata.map) ); ); |

Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com
Zitat
why not make just a second plugin? instead of changing the url...??
|
|
Quellcode |
1 |
txtadd( plugin[map].url, get(imgdir_tour_url), "FloorMap/", get(floordata.map) ); |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
removeplugin(map);
addplugin(map);
set(plugin[map].align, "lefttop");
set(plugin[map].edge,"lefttop");
set(plugin[map].zorder,"2");
set(plugin[map].x,"-500" );
set(plugin[map].y,"-500" );
set(plugin[map].height,"40%");
set(plugin[map].width,"prop");
set(plugin[map].handcursor,"false");
set(plugin[map].scalechildren,"false");
set(plugin[map].visible,"false");
set(plugin[map].big,"false");
txtadd( plugin[map].url, get(imgdir_tour_url), "FloorMap/", get(floordata.map) );
|
|
|
Quellcode |
1 2 |
removeplugin(map); addplugin(map); |
...|
|
Quellcode |
409 |
txtadd( plugin[map].url, get(imgdir_tour_url), "FloorMap/", get(floordata.map) ); |
|
|
Quellcode |
410 |
txtadd( plugin[map].scale9grid, "0|0|",get(floordata.width),"|", get(floordata.height) ); |
...
It seems that setting a scale9grid for the plugin avoids the problem....
|
|
Quellcode |
1 |
onover="set(plugin[hs_pano002_select].visible, true ); set(plugin[hs_pano002].alpha, 0);" |
It seems to be some behaviour with the alignment of the children of a parent.....
Zitat
...the red icon very briefly flashes somewhere....
, not because I knew the reason of the problem
...
points out the same behaviour in here ...
... Hi,
I'm now not sure what's the problem exactly here,
but I have seen dynamical url changing was used - in the current version there is still a small bug here, in combination with the usage of the onover,onhover or onout events, this will be fixed in the next version,

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »rdhoore108« (2. Oktober 2010, 11:05)