You are not logged in.

1

Tuesday, December 4th 2012, 8:34pm

button with pop up and URL's

I guess I should have posted this here....

Sorry if this is here somewhere on the forum but cant seem to find the answer or the help pages. Im going crazy tying to find the answer for many days.

This is exactly what Im after for a but for a VTour -- not an Object/Movie pano.

I want to put info buttons on various objects around a room and have this nice clean pop up with a few line of text with a URl that will open up in a separate window (Ill use the _blank code on the URL).


http://krpano.com/objects/pilatuspc6/

Also...Is the page with the manually drawn hot spots still here? It had some cars in a yard and I think they changed color. Would this be the new example with the swimming pool?

thanks *tongue*

2

Tuesday, December 4th 2012, 10:39pm

Anyone? Over 50 views in two days...I could sure use some help!

I also cant get editor plugin to work. Is there a basic help page for newbies to understand where to put the codes?? *confused*

3

Thursday, December 6th 2012, 6:55pm

Hi,

in that example, this was done by two images:

first the normal hotspot with the hotspot image, which is normally visible,
and then the second image, which is hidden at startup and will be only shown when clicking the first hotspot,
e.g. here one image from there:


the second image can be assigned as <plugin> element to the first <hotspot> element by using the parent="" setting,
e.g. the xml code could look like this:

Source code

1
2
<hotspot name="spot1" url="spot.png" .... onclick="set(plugin[spot1image].visible,true);tween(plugin[spot1image].alpha,1);" />
<plugin name="spot1image" url="spot1image.png" parent="hotspot[spot1]" align="bottom" visible="false" alpha="0" onclick="tween(alpha, 0.0, 0.5, default, set(visible,false));" />


Best regards,
Klaus