Hi Lance.
Try this (replace your code between the applet tags with this):
<APPLET archive = "ptviewer.jar" code="ptviewer.class" width=360 height=240> <PARAM NAME=pwidth value="1400"> <PARAM NAME=pheight value="700"> <PARAM NAME=roi0 value="i'beautysalon.jpg' x350 y0"> <PARAM name=wait value="wait.gif"> <PARAM name=frame value="bar.gif"> <param name=tilt value="-10">
<PARAM name=fov value="100"> <param name=barcolor value="0000ff"> <PARAM name=bgcolor value="ffffff"> <PARAM name=auto value="0.5"> <PARAM name=panmin value="-90"> <PARAM name=panmax value="90"> <param name=shotspot0 value=" x292 y225 a395 b240 u'ptviewer:startAutoPan(0.5,0,1)' "> <param name=shotspot1 value=" x309 y225 a412 b240 u'ptviewer:stopAutoPan()' "> <param name=shotspot2 value=" x326 y225 a429 b240 u'ptviewer:startAutoPan(0,0,0.97)' "> <param name=shotspot3 value=" x343 y225 a450 b240 u'ptviewer:startAutoPan(0,0,1.03)' "> </APPLET>
I added a "fov" line. You can also specify fovmin= and fovmax= parameters to limit the zoom depth in and out. By the way, you don't necessarily have to call out <PARAM name=x...> for every control setting. Have a look at our Gallery page code at RotoPix.com (right-click and select "view source".) All of your parameters can be called out at once. Might save you some time and simplify your code. Hope this helps. Welcome to the forum! Nice fisheye shot by the way.
Brian Jackson - RotoPix
|