You are not logged in.

Dear visitor, welcome to 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.


Thursday, November 12th 2009, 6:23pm

Calling Multiple Panos via JS

Hi All,

I've written an application where panos are loaded via JS by clicking on the appropriate link . So far so good. However, if I decide to load another pano when one is currently being loaded, the current loading pano does not stop loading.

I have tried calling stopall and/or breakall, however the original loading pano continues to load.

Any ideas?

Many thanks,

function load_pano(id){

var name2 = vvPanoArray[id][0];
var xml2 = vvPanoArray[id][1];
var jpeg = vvPanoArray[id][3];"stopall();");"breakall();");"loadpano("+xml2+".xml,sphere="+location_section+"/"+jpeg+".jpg,MERGE,blend(1));");