In other words, the pano container is NOT located in the document body, but one level down, like so:
Code: Select all
<body>
....
<div id="locationWrapper">
<div id="panoContainer"></div>
</div>
...
</body>
Code: Select all
pano=new pano2vrPlayer("panoContainer")
Putting the javascript code in the locationWrapper doesn't help.
pano2vrPlayer() apparently assumes that "panoContainer" is located in the body of the document.
How can I tell pano2vrPlayer() where exactly is the panoContainer located?
Thank you for your help!