HomefieldOfView | SPi-V dev

Navigation

user

openurl vs get url

Normally the hotspots on my floorplan link to other pans referenced in the xml file. However for this current project, I am accessing pans from a database, and not within the xml file. For this purpose, I need the hotpsots on the floorplan to link to a URL. I see in the posts about 'open' vs. 'get', which seem to say not to use each other. Since the xml file for the pan is probably unaccessable to you, I added the code below to show what I am doing...but it is not responding at all.

http://360.tsi-media.de/tsi_shockwave.php?id=d9d3bcc8432

<uielement id="op-hs01" image="dot" halign="left" hoffset="40" voffset="110" zorder="3">
        <behavior><action event="ready" type="getURL" url="http://360.tsi-media.de/tsi_shockwave.php?id=79a247f7433" target="frame"/></behavior>
      </uielement>

I know your probably sick of resolving xml issues, but I am confused about the posts for each respective 'get' or 'open' saying the not to use the other...

Any assistance you can provide would be greatly appreciated.

Re: openurl vs get url

Sorry for being 'somewhat' unresponsive.

First, a couple of remarks on your xml:

  • defaultview, cameradynamics and cameralimits should go inside a <meta> tag
  • you have a typo here: <'panogroup src="cap.xml"/> (notice the single quote')
  • there's no need to specify the server over and over again (http://360.tsi-media.de)

If you want to load a new XML file into the SPi-V player, it is important to either not specify a frame, or specify "_spv" as the frame. Use getURL in this case.