You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, June 11th 2015, 7:12pm

Select hotspot by GET value

Hi everyone!

I just started with Krpano and i need to open the webpage on a selected hotspot passed by a get value. I tryed with this script but it does not work.... why?? Thx u

Source code

1
2
3
4
5
6
7
8
<script> 
var krpano = document.getElementById("krpanoSWFObject");
var variablesGet = parseGetVars(); 
var hotspot = variablesGet['looktohotspot'];	
 if(hotspot!=null){	
	krpano.call("looktohotspot(" + hotspot + ")");	
} 
</script>

This post has been edited 1 times, last edit by "lory1990" (Jun 16th 2015, 9:20pm)