PDA

View Full Version : Another problem with IE internet explorer


Vistrad
02-27-2008, 04:00 PM
"Why does IE exist? so You can download a web browser"

And The Problem is my site works perfectly in FF, and not in IE.

Site address is

http://pano.vistrad.pl/galeria.php

there's several panoramas on one site, IE loads only the one that is in the end in HTML document, when I delete some of the panoramas from code IE loads always only the last in the code.

The HTML is here (sorry for its lenght)

<TABLE class="head">
<TR>
<TD CLASS="h1">
</TD>
<TD CLASS="h2">
Panoramy VR360° - Galeria
</TD>
<TD CLASS="h3_1">
</TD>
</TR>
</TABLE>
<CENTER>

<TABLE>
<TR>
<TD CLASS="pano">
<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/gallerybig.swf", "gallerybig", "665", "285", "9", "#ffffff");
so.addVariable("xml_file","gallerybig.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</TD>
</TR>
</TABLE>
<br>

<TABLE>
<TR>
<TD CLASS="panorleft">
<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/gallery1.swf", "pano", "288", "139", "9", "#ffffff");
so.addVariable("xml_file","gallery1.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</TD>
<TD CLASS="panorc">
</TD>
<TD CLASS="panorright">
<TABLE>
<TR>
<TD CLASS="r01" COLSPAN="2">
Tytuł
</TD>
</TR>
<TR>
<TD CLASS="r02" COLSPAN="2">
opis
</TD>
</TR>
<TR>
<TD CLASS="r03">
Miejsce wykonania
</TD>
<TD CLASS="r04">
2008.02.26
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<IMG SRC="gfx/lay_sep.jpg"><br>
<TABLE>
<TR>
<TD CLASS="panorleft">
<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/gallery2.swf", "pano", "288", "139", "9", "#ffffff");
so.addVariable("xml_file","gallery2.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</TD>
<TD CLASS="panorc">
</TD>
<TD CLASS="panorright">
<TABLE>
<TR>
<TD CLASS="r01" COLSPAN="2">
Tytuł
</TD>
</TR>
<TR>
<TD CLASS="r02" COLSPAN="2">
opis
</TD>
</TR>
<TR>
<TD CLASS="r03">
Miejsce wykonania
</TD>
<TD CLASS="r04">
2008.02.26
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<IMG SRC="gfx/lay_sep.jpg"><br>
<TABLE>
<TR>
<TD CLASS="panorleft">
<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/gallery3.swf", "pano", "288", "139", "9", "#ffffff");
so.addVariable("xml_file","gallery3.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</TD>
<TD CLASS="panorc">
</TD>
<TD CLASS="panorright">
<TABLE>
<TR>
<TD CLASS="r01" COLSPAN="2">
Tytuł
</TD>
</TR>
<TR>
<TD CLASS="r02" COLSPAN="2">
opis
</TD>
</TR>
<TR>
<TD CLASS="r03">
Miejsce wykonania
</TD>
<TD CLASS="r04">
2008.02.26
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<IMG SRC="gfx/lay_sep.jpg"><br>
<TABLE>
<TR>
<TD CLASS="panorleft">
<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/gallery4.swf", "pano", "288", "139", "9", "#ffffff");
so.addVariable("xml_file","gallery4.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</TD>
<TD CLASS="panorc">
</TD>
<TD CLASS="panorright">
<TABLE>
<TR>
<TD CLASS="r01" COLSPAN="2">
Tytuł
</TD>
</TR>
<TR>
<TD CLASS="r02" COLSPAN="2">
opis
</TD>
</TR>
<TR>
<TD CLASS="r03">
Miejsce wykonania
</TD>
<TD CLASS="r04">
2008.02.26
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<IMG SRC="gfx/lay_sep.jpg"><br>
<TABLE>
<TR>
<TD CLASS="panorleft">
<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/gallery5.swf", "pano", "288", "139", "9", "#ffffff");
so.addVariable("xml_file","gallery5.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</TD>
<TD CLASS="panorc">
</TD>
<TD CLASS="panorright">
<TABLE>
<TR>
<TD CLASS="r01" COLSPAN="2">
Tytuł
</TD>
</TR>
<TR>
<TD CLASS="r02" COLSPAN="2">
opis
</TD>
</TR>
<TR>
<TD CLASS="r03">
Miejsce wykonania
</TD>
<TD CLASS="r04">
2008.02.26
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<IMG SRC="gfx/lay_sep.jpg"><br>
<TABLE>
<TR>
<TD CLASS="panorleft">
<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/gallery6.swf", "pano", "288", "139", "9", "#ffffff");
so.addVariable("xml_file","gallery6.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</TD>
<TD CLASS="panorc">
</TD>
<TD CLASS="panorright">
<TABLE>
<TR>
<TD CLASS="r01" COLSPAN="2">
Tytuł
</TD>
</TR>
<TR>
<TD CLASS="r02" COLSPAN="2">
opis
</TD>
</TR>
<TR>
<TD CLASS="r03">
Miejsce wykonania
</TD>
<TD CLASS="r04">
2008.02.26
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>

If Y

Vistrad
02-27-2008, 04:03 PM
Don't know if I did something wrong,

anyway if its hard or complicated to fix, I'll do it with only one panorama window at once.

THX in advance for help,

and sory again for that long code

Cameleer
02-28-2008, 02:19 AM
I don’t know if this will help but try adding the document type at the top before the html.
Also try running it through a validation program like one of these.
http://validator.w3.org/
http://htmlhelp.com/tools/validator/

I hope this helps.
Roger Berry

Vistrad
02-28-2008, 08:53 AM
Hi there!
Thanks for help! I found the problem by the validator, you just have to change name in div id, like you can see below

SOURCE:

<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/gallerybig.swf", "gallerybig", "665", "285", "9", "#ffffff");
so.addVariable("xml_file","gallerybig.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>
</TD>
</TR>
</TABLE>
<br>

<TABLE>
<TR>
<TD CLASS="panorleft">
<script type="text/javascript" src="files/swfobject.js"></script>
<div id="flashcontent1">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/gallery1.swf", "pano", "288", "139", "9", "#ffffff");
so.addVariable("xml_file","gallery1.xml");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent1");
window.document["pano"].focus();
</script>

###

Then you can have multiply panoramas windows in one site.

Regards!