this code work if the image on top right?
or only in deafuld menu image?
Beiträge von yaaki
-
-
how to insert text title in thumbs Without mouse onhover?
How can the title be constantly on thumbs image?this is my code its work only with mouse onhover
<!-- thumbnail actions begin (remove the 'buildthumbs()' call in the onstart event to remove the thumbs) -->
<action name="buildthumbs">
if(%1 != NEXT, set(i,0));
if(i LT scene.count,
copy(thumb, scene[get(i)].thumburl);
txtadd(thumbname,'thumb_',get(i));
addplugin(get(thumbname));
set(plugin[get(thumbname)].url, get(thumb));
set(plugin[get(thumbname)].keep, true);
set(plugin[get(thumbname)].align, righttop);
set(plugin[get(thumbname)].width, 80);
set(plugin[get(thumbname)].height, 50);
set(plugin[get(thumbname)].x, 10);
set(plugin[get(thumbname)].y, 10);
mul(plugin[get(thumbname)].x, i,5);
mul(plugin[get(thumbname)].y, i,5);
add(plugin[get(thumbname)].x, 5);
add(plugin[get(thumbname)].y, 5);
copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x);
copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y);
add(plugin[get(thumbname)].zorder, 100, i);
set(plugin[get(thumbname)].effect,glow(0xFFFFFF,1.0,2,10000));
set(plugin[get(thumbname)].jsborder,'1px solid #FFFFFF');
copy(plugin[get(thumbname)].thumbpos, i);
set(plugin[get(thumbname)].linkedscene, get(scene[get(i)].name) );
set(plugin[get(thumbname)].onclick, openthumbs() );
set(plugin[get(thumbname)].title, get(scene[get(i)].title) );
inc(i);
buildthumbs(NEXT);
);</action>
<action name="openthumb">
if(%2 != NEXT,
set(pos,0);
copy(curpos, plugin[%1].thumbpos);
set(xdst, 0);
set(ydst, 0);
);if(pos LT curpos,
inc(pos);
inc(ydst,130);
sub(ymax, stageheight, 150);
if(ydst GT ymax, inc(xdst,200);set(ydst,0); );
openthumb(%1,NEXT);
,
add(xdst,10);
add(ydst,10);
tween(plugin[%1].x, get(xdst) );
tween(plugin[%1].y, get(ydst) );
tween(plugin[%1].width, 190);
tween(plugin[%1].height, 120);
set(plugin[get(thumbname)].onhover,showtext(get(title), smallimg);););
</action><action name="closethumb">
tween(plugin[%1].x, get(plugin[%1].xsmall));
tween(plugin[%1].y, get(plugin[%1].ysmall));
tween(plugin[%1].width, 80);
tween(plugin[%1].height, 50);
set(plugin[get(thumbname)].onhover,(null););</action>
<action name="openthumbs">
if(%1 != NEXT,
set(i,0);
set(events.onclick, set(events.onclick,null); delayedcall(0.1, closethumbs() ); );
);if(i LT scene.count,
txtadd(thumbname,'thumb_',get(i));
openthumb(get(thumbname));
set(plugin[get(thumbname)].onclick, set(events.onclick,null); closethumbs(); loadscene(get(linkedscene),null,MERGE,BLEND(1)); );
inc(i);
set(plugin[get(thumbname)].onhover,showtext(get(title), smallimg););
openthumbs(NEXT););
</action><action name="closethumbs">
if(%1 != NEXT, set(i,0));
if(i LT scene.count,
txtadd(thumbname,'thumb_',get(i));
closethumb(get(thumbname));
set(plugin[get(thumbname)].onclick, openthumbs() );
inc(i);
set(plugin[get(thumbname)].onhover,(null););
closethumbs(NEXT););
</action>
<!-- thumbnail actions end -->help please
Thank you -
How to view all the time under the Arrow the name of hotspot (no onhover)
showtext
Thanks
-
I replace in tour.html
html5:"prefer" to html5:"auto" and it work in explorer
its ok to do this????
-
I update the new krpano 1.16
I click tour.html to see the tour in my computer locally and I get error "tour.xml loading not possible"
error in explorer 10 + chorm
in firefox it work
I need it work on explorer
Help please thanks
-
how to make thumbs fly in Animation in top right corner
As an example link
There are small images when clicked they openhttp://www.hinooma.co.il/vrh2/index.html
Thanks to those who help
-
How can I delete or change the text that appears on the left side "virtual tour - pano"
Thanks for the help