PDA

View Full Version : Problem with Internet Explorer


birdseye
07-13-2007, 07:32 AM
Hi,

I have a very annoying problem with Internet Explorer. When you typt a URL for a pano... f. ex. http://www.lapalma-virtualtour.nl/panotour_lp/pano_16.htm, the pano works fine, when you retype the URL or type a new one, f. ex. http://www.lapalma-virtualtour.nl/panotour_lp/pano_17.htm, the pano wouldn't load, only a blank page is shown. When you 'refresh' the page, the pano will display.

It's very annoying because these panno's will are part of a virtual tour and will load in a Iframe.
In Firefox, everything works fine.

I hope somebody can help me further. I'm looking for a solution for already 3 days, without any result.

Tnx in adavnce...

Yvan.


This the code of the HTML page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>La Palma - Virtual Tour</title>
<style type="text/css">
<!--
/* hide from ie5 mac \*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #FBF9EC;
}
-->
</style></head>

<body>
<script type="text/javascript" src="files/swfobject.js"></script>
<div id="flashcontent">This content requires <a href="http://www.adobe.com/go/getflashplayer/">Adobe Flash Player</a>.<br />
Built on <a href="http://flashpanoramas.com/player/">Flash Panorama Player</a>.</div>
<script type="text/javascript">
var so = new SWFObject("files/panoStripe.swf", "pano", "100%", "100%", "9", "#FBF9EC");
so.addVariable("xml_file","pano_4.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</body>
</html>


And this is the code for the XML file:


<?xml version = '1.0'?>
<panorama>
<parameters>

panoName = panostrips/zoutpannen_strip_1

loaderText =
layer_10 = files/glassMeter.swf

zoomHome = 0.7

layer_1 = files/menuFullscreen.swf
layer_2 = files/hotspots.swf
layer_5 = files/autorotator.swf

segments = 20

qualityMotion = low
qualityStatic = best

sensitivity=40
keySensitivity=40
behaviour=2
friction=0.86

</parameters>



<hotspots>
<global>

<spot id="maximise" static="1" salign="rb" align="rb" staticX="-4" staticY="-4" url="images/maximise.png" onClick="fullscreen()"

onLoad="change:-,scaleX,0.6,300; change:-,scaleY,0.6,300;"
onOver="change:-,scaleX,0.9,500, elastic; change:-,scaleY,0.9,500, elastic;"
onOut=" change:-,scaleX,0.6,500, elastic; change:-,scaleY,0.6,500, elastic;"
/>

</global>
</hotspots>

<autorotator>
speed = -0.1
interval = 30
pause = 5000
quality = low
</autorotator>

</panorama>

birdseye
07-15-2007, 02:19 PM
Please can anyone help me further with this? My client is starting to get very nervous and I can't find any solution.

Sorry for reposting but thanks for any help.

Yvan.

fotocubo
07-15-2007, 03:54 PM
Hi birdseye,

It works right with my IE v6. I guess it happens with IE v7... is'nt it?

birdseye
07-15-2007, 04:58 PM
Hi Fotocubo,

No, me and me client have version 6.0.29.
Maybe you can check this site... http://www.lapalma-virtualtour.nl/index2.htm

Skip intro and press virtual tour. You will see a satelite map...
When you press a hotspot, a pano will open...
Go back by pressing virtual tours again...
Press the same hotspot again and then I have a blank page...
Neither the other hotspot will works. Do you have the same problem?

Thanks for the help,

Yvan.

fotocubo
07-15-2007, 05:57 PM
Hi Yvan,

Nice VTour...

Well, I'm using IE v6.0.2900. I have found no problem at all. I've navigated your VTour by two ways. First one using the bottom right map to go back, and second time (after deleting cache-browser) using "virtual-tour" in top menu.

Sometimes the onOver panning satellite menu made a few white flashings, but I `ve not got a permanent blank-empty screen.

Maybe you should be sure to delete all cache browser files and try again. It is the only cause I can figure out right now... :)

Good luck

birdseye
07-15-2007, 06:04 PM
Hello Fotocubo,

I cleared out the cache without any result. Very odd that it works on your PC.
But thanks anyway for the help,

Yvan.

birdseye
07-16-2007, 12:10 PM
I just discovered something odd with my website... (in Internet Explorer)

When you press a spot on the map, the 1st time the panorama is loaded normally. When I go back to the map and press the same hotspot a 2nd time...
Only a blank screen is shown... this is my problem so far.
But when you right click on the screen an choose full screen, the panorama is shows up and when you hit escape, the small pano is shown in the window...

Is this a Javascript Error or something else ? I don't know it anymore...

Gary
07-16-2007, 03:11 PM
I'm running IE 6.0.2900 and seeing the problem you describe. It appears you're having an issue with the IE popup-blocker... It doesn't appear when the tour is activated the first time, but seems to activate each time the tour is clicked thereafter... if I ctrl-click the icon, it overrides the blocker and works fine each time.

<gary>

birdseye
07-16-2007, 05:27 PM
Hmm, I don't think that's the problem Gary. I shutted of the IE popup blocker but the problem still excist.
But thanks anyway for your help.

I think something goes wrong by opening a new panorama. Sometimes you can see a loader in the upper left corner but after loading the pano doesn't display.
And in some way the pano is loaded but just doesn't display. When you right click, and then choose full screen, the pano suddenly displays...

Yvan.

birdseye
07-17-2007, 05:12 PM
Just a last post concerning this topic...I found a solution.

For people who have the same problem now or later...
I fixed it with a Javascript Page Refresh. After loading a pano, the page is refreshed one time. Then the pano loads without problems in IE. Only disadvantage is that each time you hear an anoying window sound. But I can live with that.

regards,

yvan.

shudson
07-18-2007, 12:50 AM
Yvan,
I'm glad to hear you've found a solution. I'm still a bit new and was wondering if you could let me know the code you inserted to prevent the IE problem, as I am also experiencing the same thing.
Sean

Denis
07-28-2007, 01:56 PM
I found that IE dosn't send "resize" event (not every time and only for typing in adress bar). Also It bugs not for every server...

You can see the hiding panorama changing the browser window dimension (it's more fast then refresh).

I will add an additional resize condition in the next version. Thanks for finding this issur.

rjleblanc
11-06-2007, 10:40 PM
I’m currently building a template and I am having the same problem. In Internet Explorer, a panorama will load either on a first click or require second click. If it does not work on the first click, a black frame appears. A second click will finally load the Panorama. There does not seem to be a pattern to this. Granted, the Tour works 99% of the time.

The template in Question is at; www.urban-iris.com/tours/template/QT.htm

I am not a Javascipt expert but I tried my hand at the Refresh trick. The problem is that you can not anticipate when a Panorama will load and when it will not. This means the Refresh trick might switch a loading pano, into one that will not load. Make sense? LOL

Do you have a sample of the code that you attempted this work-around with? I’d love to give it a try. Otherwise, is there anyone out there that could look at my code (through email) and see how to fix this issue???

Ernesto
11-07-2007, 10:25 AM
Hi,

I have a very annoying problem with Internet Explorer. When you typt a URL for a pano... f. ex. http://www.lapalma-virtualtour.nl/panotour_lp/pano_16.htm, the pano works fine, when you retype the URL or type a new one, f. ex. http://www.lapalma-virtualtour.nl/panotour_lp/pano_17.htm, the pano wouldn't load, only a blank page is shown. When you 'refresh' the page, the pano will display.

It's very annoying because these panno's will are part of a virtual tour and will load in a Iframe.
In Firefox, everything works fine.

I hope somebody can help me further. I'm looking for a solution for already 3 days, without any result.

Tnx in adavnce...

Yvan.


This the code of the HTML page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>La Palma - Virtual Tour</title>
<style type="text/css">
<!--
/* hide from ie5 mac \*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #FBF9EC;
}
-->
</style></head>

<body>
<script type="text/javascript" src="files/swfobject.js"></script>
<div id="flashcontent">This content requires <a href="http://www.adobe.com/go/getflashplayer/">Adobe Flash Player</a>.<br />
Built on <a href="http://flashpanoramas.com/player/">Flash Panorama Player</a>.</div>
<script type="text/javascript">
var so = new SWFObject("files/panoStripe.swf", "pano", "100%", "100%", "9", "#FBF9EC");
so.addVariable("xml_file","pano_4.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</body>
</html>


And this is the code for the XML file:


<?xml version = '1.0'?>
<panorama>
<parameters>

panoName = panostrips/zoutpannen_strip_1

loaderText =
layer_10 = files/glassMeter.swf

zoomHome = 0.7

layer_1 = files/menuFullscreen.swf
layer_2 = files/hotspots.swf
layer_5 = files/autorotator.swf

segments = 20

qualityMotion = low
qualityStatic = best

sensitivity=40
keySensitivity=40
behaviour=2
friction=0.86

</parameters>



<hotspots>
<global>

<spot id="maximise" static="1" salign="rb" align="rb" staticX="-4" staticY="-4" url="images/maximise.png" onClick="fullscreen()"

onLoad="change:-,scaleX,0.6,300; change:-,scaleY,0.6,300;"
onOver="change:-,scaleX,0.9,500, elastic; change:-,scaleY,0.9,500, elastic;"
onOut=" change:-,scaleX,0.6,500, elastic; change:-,scaleY,0.6,500, elastic;"
/>

</global>
</hotspots>

<autorotator>
speed = -0.1
interval = 30
pause = 5000
quality = low
</autorotator>

</panorama>

Hi Yvan,

I think we've already discuss in the pass (over the summer) this (or similar) IE behaviour, not showing a plug-in content when hitting the page for a second time. I have come across with a solution that is more elegant than using iFrames o refreshing pages. It involves making IE think that the requested element is different from the one it had previously loaded. Here it's the code

var so = new SWFObject("files/show_pano.swf?t=" +new Date().getTime()+"&xml_file=puntos.xml", "pano", "60%", "60%", "9", "#282828");

wiht the addition of the javascript Date().getTime() object as a parameter to the swf file url, IE refereshes well the flash content, and everything goes right,

hope it helps

rez
02-20-2008, 08:57 PM
Oh. My. Gosh. Thank you for this new Date().getTime() trick.

This situation drove me crazy today. Are you ever embarrased with how long you tried to figure something like this out? I troubleshooted this all wrong.

ahhhh.... it would be cigarette time but i quit. What should I do? Coffee break? Anyway, thanks.