phberlin
09-27-2007, 12:08 AM
Hello everyone,
I'm making my first steps with hotspots, and so far everything is fine -- as long as it is in a single pano :( I know this has been discussed several times before here, but unfortunately I could not find a solution for my problem in the posts...
I have several panos on my server, and every one is in its own subdirectory. Like:
../panorama/bridge/brigde.swf
../panorama/house/house.swf
../panorama/something_else/something_else.swf
and so on...
I want to connect some of the panos with each other via hotspots, and there is my problem:
Each pano has its own XML-file which is necessary since it's not a single "tour" -- each one can be started individually by thumbnail (see http://pano.philippkoch.com). I want to keep them separately (each one with its own subfolder and own XML-file), but nevertheless connect them.
A typical connection would for example be like this:
<box id="fernsehturm_hs" linked="museum" url="hotspot.png" pan="118.00" tilt="13.00" distance="1.0" orientation="sphere" alignX="-0.50" alignY="-0.96" depth="0" blendMode="alpha"
and
onClick="pano.leash=free;loadPano(?panoName=../fernsehturm/fernsehturm&xml_file='../fernsehturm/fernsehturm.xml'&panHome=5&tiltHome=36&zoomHome=0.67,800);"
where the actual pano is "museum" and the pano to be loaded via hotspot is "fernsehturm". The problem is that the XML-file of the second pano doesn't seem to be loaded -- there are no hotspots in it; but if you open it directly via thumbnail, the hotspots are visible...
I tried to change the "xml_file="-part without success. For example it also doesn't work using just the pano name without path (xml_file="fernsehturm.xml"). And if I do not put the apostophs (') at the beginning and the end of the xml_file-path, the hotspot is displayed, but without function (e.g. the second pano doesn't get loaded then).
Can anyone please give me a hint what might be wrong here? I would be very grateful for that :-)
Thanks in advance,
Philipp
PS. I don't have the hotspots online, I'm just testing on my localhost, because I want it to be working first. So don't seek them on my site :)
I'm making my first steps with hotspots, and so far everything is fine -- as long as it is in a single pano :( I know this has been discussed several times before here, but unfortunately I could not find a solution for my problem in the posts...
I have several panos on my server, and every one is in its own subdirectory. Like:
../panorama/bridge/brigde.swf
../panorama/house/house.swf
../panorama/something_else/something_else.swf
and so on...
I want to connect some of the panos with each other via hotspots, and there is my problem:
Each pano has its own XML-file which is necessary since it's not a single "tour" -- each one can be started individually by thumbnail (see http://pano.philippkoch.com). I want to keep them separately (each one with its own subfolder and own XML-file), but nevertheless connect them.
A typical connection would for example be like this:
<box id="fernsehturm_hs" linked="museum" url="hotspot.png" pan="118.00" tilt="13.00" distance="1.0" orientation="sphere" alignX="-0.50" alignY="-0.96" depth="0" blendMode="alpha"
and
onClick="pano.leash=free;loadPano(?panoName=../fernsehturm/fernsehturm&xml_file='../fernsehturm/fernsehturm.xml'&panHome=5&tiltHome=36&zoomHome=0.67,800);"
where the actual pano is "museum" and the pano to be loaded via hotspot is "fernsehturm". The problem is that the XML-file of the second pano doesn't seem to be loaded -- there are no hotspots in it; but if you open it directly via thumbnail, the hotspots are visible...
I tried to change the "xml_file="-part without success. For example it also doesn't work using just the pano name without path (xml_file="fernsehturm.xml"). And if I do not put the apostophs (') at the beginning and the end of the xml_file-path, the hotspot is displayed, but without function (e.g. the second pano doesn't get loaded then).
Can anyone please give me a hint what might be wrong here? I would be very grateful for that :-)
Thanks in advance,
Philipp
PS. I don't have the hotspots online, I'm just testing on my localhost, because I want it to be working first. So don't seek them on my site :)