adriansalisbury
04-02-2007, 06:12 PM
I've spent my first day playing with this and though I was getting on pretty well considering I'm a complete novice at this.
For the last 2 hours I've been trying different combinations to set the initial view and zoom of linked panos.
Here's the block of code in question and below is the link to the tours.
<spot id="chelsea" pan="-140" tilt="-10" url="images/black_p.png" linked="images/sussex-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="salisbury" pan="-110" tilt="-5" url="images/black_p.png" linked="images/sussex-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="sussex" pan="-15" tilt="-5" url="images/black_p.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="winchester" pan="129" tilt="-5" url="images/black_p.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="salisbury" pan="-175" tilt="-8" url="images/black_p.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="sussex" pan="-15" tilt="20" url="images/black_p.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="winchester" pan="129" tilt="-5" url="images/black_p.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="chelsea" pan="-175" tilt="-20" url="images/black_p.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="salisbury" pan="129" tilt="-5" url="images/black_p.png" linked="images/winchester-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="chelsea" pan="-175" tilt="-20" url="images/black_p.png" linked="images/winchester-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
www.opticalfx-testsite.co.uk/clients/julianchristian/sussex.html
I should explain the names of the homes. The initial one is the sussex, the next one nearest is the chelsea and the one to the right of that in the distance is the salisbury.
I understand I have to write it out this long way as PTGui gives me cube faces with numbers rather than letters, is that right or am I making hard work of this?
Phase 2 will be to put a menu fixed to the right side so you can jump into any home but I want to beat this first. Your help will be very much appreciated.
By the way, this player is fantastic, just what I've been waiting for!
For the last 2 hours I've been trying different combinations to set the initial view and zoom of linked panos.
Here's the block of code in question and below is the link to the tours.
<spot id="chelsea" pan="-140" tilt="-10" url="images/black_p.png" linked="images/sussex-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="salisbury" pan="-110" tilt="-5" url="images/black_p.png" linked="images/sussex-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="sussex" pan="-15" tilt="-5" url="images/black_p.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="winchester" pan="129" tilt="-5" url="images/black_p.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="salisbury" pan="-175" tilt="-8" url="images/black_p.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="sussex" pan="-15" tilt="20" url="images/black_p.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="winchester" pan="129" tilt="-5" url="images/black_p.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="chelsea" pan="-175" tilt="-20" url="images/black_p.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="salisbury" pan="129" tilt="-5" url="images/black_p.png" linked="images/winchester-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
<spot id="chelsea" pan="-175" tilt="-20" url="images/black_p.png" linked="images/winchester-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panoSuffixes=_0.jpg|_1.jpg|_2.jpg|_3.jpg|_4.jpg|_5 .jpg 1000, fade)" />
www.opticalfx-testsite.co.uk/clients/julianchristian/sussex.html
I should explain the names of the homes. The initial one is the sussex, the next one nearest is the chelsea and the one to the right of that in the distance is the salisbury.
I understand I have to write it out this long way as PTGui gives me cube faces with numbers rather than letters, is that right or am I making hard work of this?
Phase 2 will be to put a menu fixed to the right side so you can jump into any home but I want to beat this first. Your help will be very much appreciated.
By the way, this player is fantastic, just what I've been waiting for!