proj-imim:
RE: [proj-imim] getView()
Serge Maandag 2002-Nov-23 11:02:12
I have some 3d pages in which 2 images move in sync.
I use this code:
// the master window
<applet archive=ptviewer.jar code=ptviewer.class width=160 height=100 name=master mayscript=true>
.........
<param name=getview value='changeview'>
</applet>
// the slave window
<applet archive=ptviewer.jar code=ptviewer.class width=160 height=100 name=slave1>
.........
</applet>
and the javascript function:
// makes the slave follow the master
function changeview(p,t,f) {document.slave1.gotoView(p, t, f);}
This one works (example: http://panotest.maandag.com/3d/utgothic/parallel.html)
I think it's caps sensitive.
serge maandag.
-----Original Message-----
From: William Donelson [mailto:#removed#]
Sent: Friday, November 22, 2002 11:45 AM
To: #removed#
Subject: [proj-imim] getView()
All,
I want to get back the current Pan & Zoom for debugging purposes. I've tried:
function getView(x, y, z) { alert(x + " " + y + " " + z); }
and in the Applet:
<PARAM NAME="MAYSCRIPT" VALUE="TRUE">
<PARAM NAME="GETVIEW" VALUE="getView">
But when I pan around & stop panning, I get no alert...
Any ideas? (Is is my Mac/IE5?)
Regards,
William Donelson
--
@
@ Explore the Taj Mahal, Kew Gardens, St Paul's Cathedral, the UK
@ Houses of Parliament, Tanks, Submarines, Cities, and more online!
@ "THE most sophisticated virtual tours!" - The Daily Mail
@ "Marvellous!" - History Today Magazine
@ http://www.armchair-travel.com for Virtual Travel (R)
@ http://www.taj-mahal.net - Explore the Taj Mahal online
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Subscribe & Unsubscribe at: https://listserv.fh-furtwangen.de/cgi-bin/lwgate/cgi/lwgate-en.cgi/dbase...
Subscribe & Unsubscribe at: https://listserv.fh-furtwangen.de/cgi-bin/lwgate/cgi/lwgate-en.cgi/dbase...