View Full Version : Similar problems with IE -No fix found
shudson
07-18-2007, 02:59 AM
I'm having the same problems as birdseye was with the panoplayer. IE will load fine for the first one, won't load the second vr, but if refreshed it will load no problem. Can anyone provide a solution? Perhaps im not implementing the javascript refresh properly...any help is greatly appreciated.
birdseye
07-18-2007, 07:05 AM
Hi Shudson, I'll try to explain my solution. at 1st Sorry for my bad english.
I don't know how you're website is build up but I give you the workaround with the setup of my website.
In my website, I'm using one HTML page with three Iframes.
1 Iframe with the menu: IF_MENU
2 Iframe containing the pano: IF_PANO
3 Iframe containing the dexcription: IF_DESC
When a visitor hits a hotspot on the satellite image, 2 Actionscripts commands are given in the flash file:
1 open pano X in IF_PANO
2 open description X in IF_DESC
Now, in the description html file, I added the following Javascript in the <head> part:
<script>
function renew(){
parent.IF_PANO.location = parent.IF_PANO.location;
}
</script>
In the description flash file, I added this actionscript in the 1st frame:
getURL("javascript:renew()");
So, when a visitor hits a hotspot, a new pano file is loaded in the IF_PANO Iframe. 'sometimes the pano doensn't appear' - but when the description file in IF_DESC, changes with the newly loaded pano, the refresh order is given from the Iframe IF_DESC to IF_PANO and the pano will display.
That's it... I'm sure there are easier solutions, but I'm not Javascript Guru at all. I just founded this piece of code on the net.
Hope this helps...
Yvan.
shudson
07-18-2007, 05:31 PM
Thank you for that birdseye, I'll give it a shot!
shudson
07-19-2007, 10:36 PM
hey birdseye,
are you using strictly flash for your viewing? Or are you embedding the panorama's into the page with html and the swfObject?
shudson
birdseye
07-20-2007, 09:59 AM
Hello Shudson.
The website is HTML with tree IFRAMES. I'm using three different SWF files.
I'm using a small XML database (in Filemaker) for the pano's.
The SWF file with the satellite image loads the XML file and creates the hotspots on the map. Each hotspot is linked to a pano with the location description.
When a visitor click's on a hotspot, a pano (in a html) file is loaded in the Iframe in place of the satellite image.
Simply said... the whole site exsits out of separate html and swf files.
Yvan.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.