Hi.
You can see a sample at the following address:
http://www.virtualvisit-northernireland.com/preview/prototype2.html#merchant
On load you will see I'm trying to call a simple function called "loaded" with an alert.
Any ideas?
Michael
Hi.
You can see a sample at the following address:
http://www.virtualvisit-northernireland.com/preview/prototype2.html#merchant
On load you will see I'm trying to call a simple function called "loaded" with an alert.
Any ideas?
Michael
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,
Michael
function load_pano(id){
var name2 = vvPanoArray[id][0];
var xml2 = vvPanoArray[id][1];
var jpeg = vvPanoArray[id][3];
root.call("stopall();");
root.call("breakall();");
root.call("loadpano("+xml2+".xml,sphere="+location_section+"/"+jpeg+".jpg,MERGE,blend(1));");
}
Hi Michel. Thanks for pointing the syntax error. The onLoadComplete call did not work.
Hi,
I'm calling pano files via Javascript.
root.call("loadpano(base.xml,sphere=folder/images.jpeg+".jpg,MERGE,blend(1));");
Can I somehow call a custom function 'onLoadComplete'?
Many thanks,
Michael
Salut Michel et merci bien pour ton réponse rapide !
It's working exactly as I needed it.
Hi,
I'm working on a application where Panos are being called through JS.
call("loadpano(null,sphere=folder/SPHERE.jpg,keepbase,blend(1));");
I want to set a preview image while the main pano loads. I know this can be done via XML, however due to constraints, I need to call it from JS.
Is this possible?
Many thanks,
Michael