Hi folks !!
I'm working on a project to make a website using Krpano ^^
It's a huge work, using almost all the possibilities of Krpano ^^
I actually have this problem:
1- I'd like to add different clickable areas on a image plugin ^^
Here's a part of the code I have for the moment:
<!--************** bouton **************************************************-->
<plugin name="accueil" url="ChateauPCdata/graphics/bouton.png"
align="lefttop"
onclickA="set(plugin[map].visible, true); set(onclick, onclickB() );
onclickB="set(plugin[map].visible, false); set(onclick, onclickA() );
onclick="onclickA();" scale="1" keep="true" />
<!--************** the image plugin **************************************************-->
<plugin name="map" align="center" scale="1" blendmode="normal" keep="true" visible="false" url="ChateauPCdata/graphics/spots/chateau.png" />
Display More
The plugin is a map, and I'd like to have this kind of effect on hover:
1- normal image:
2- hover effect when onhover:
I've think about an polygonal hotspot on the image...
Or maybe another image over the normal one with a zorder,
but this two ways seem very complicated :'(
And I have another thing I'd like to do: is it possible to use a tween effect to open the map image ?
Quotetween(plugin[map].visible, true); instead of
set(plugin[map].visible, true);
cause the alpha way
Quotealpha="0" on the plugin then tween(plugin[map].alpha,0,1);
is very heavy to use cause of many plugins to show at least in the tour ^^
Here's the deal ^^
If someone have an idea ^^
I'm working on it, if I get a solution I'll let you know !!!
Thanks in advance !!