Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2007, 09:32 AM
popunonkok popunonkok is offline
Member
 
Join Date: Aug 2007
Posts: 48
Downloads: 0
Uploads: 0
Default "you are here" on a map with "onLoad"

Sorry about the wierd topic but Ill try to explain.

I have a map on my pano with 10 different spots, you can click on them to view a new pano.(Anybody heard about this idea before?)

I now want the spot to change so one can see what pano they are looking at right now.
I know how to do it to change whan you click a spot but I dont want it to change before the other pano is loaded...

on click I would solw it something like this...

onClick="hotspots_1.visible+=1;hotspots_1_2.visibl e+=1"


But Now...

Ho do I change the hotspot on load of the new pano and where do i put the onLoad code? I only use one Xml file...

This how the spotcode look now.

Code:
<spot id="hotspots_10" url="files/panosymbol.png" static="1"staticX="165.00" staticY="320.00" salign="LT" depth="12" alpha="1" 
onOver="scale=1.5,500,elastic;rotation=-180,200,regular;"
onOut="scale=1,200;rotation=0,200,regular;"
onClick="loadPano(?panoName=pano10/pano10)" 
/>
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:08 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.