0

I'm trying to retrieve a panorama name in javascript from a virtual tour output by PanoTour Pro.

Panorama Properties

I'm just trying to retrieve the name, circled here. Using alert() as an example would be fine, and then I'm good from there.

Esailija
  • 138,174
  • 23
  • 272
  • 326
Chewie The Chorkie
  • 4,896
  • 9
  • 46
  • 90
  • alert(get(scene[get(xml.scene)].title)); alert(get(scene[0].name)); alert(scene.title.name); alert(scene.name); alert(scene.title); alert(xml.scene.name); alert(xml.scene.title); alert(xml.scene.title.name); – Chewie The Chorkie Aug 07 '12 at 19:11
  • You may use Chrome dev tools and info from this post: http://stackoverflow.com/questions/2934787/view-list-of-all-javascript-variables-in-google-chrome-console – Niloct Aug 07 '12 at 19:18
  • I don't know what to search for. – Chewie The Chorkie Aug 07 '12 at 19:57
  • You can list your global variables from the link above, then the property you are looking for is a member of one of those, or their children... – Niloct Aug 07 '12 at 20:18
  • Why must I use Chrome? The javascript debugger is the same exact one in Safari. What is the property I am looking for? I don't know. I searched 'scene' which returns nothing. – Chewie The Chorkie Aug 07 '12 at 20:40
  • Just found out there's no way to access that. I'll have to wait for the next version of PanoTour Pro. – Chewie The Chorkie Aug 08 '12 at 15:57

0 Answers0