Topic: Viewer works in firefox, not in IE...

I'll try to explane as clearly as I can, my tec. english isn't that good.. Hope somebody can help me!

I just finished making my website and layert the gallery in my page, with macromedia. It all works fine in firefox, but it doesn't in IE.


http://josso.nl/Make-up%20gallery/Make-up%20gallery.htm


The code looks like this:

<HTML>
<HEAD>
<TITLE>Make-up by Josso.nl</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
    background-color: #000000;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</HEAD>
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<!-- ImageReady Slices (home leeg.psd) -->
<div align="center"><img src="../images/basic.gif" alt="" width=1024 height=768 border="0" usemap="#Map">
  <map name="Map">
    <area shape="rect" coords="149,71,232,115" href="../index.html" target="_parent">
    <area shape="rect" coords="260,73,357,117" href="../profile.html" target="_parent">
    <area shape="rect" coords="381,73,456,117" href="../CV.html" target="_parent">
    <area shape="rect" coords="487,71,587,117" href="../gallery.html" target="_parent">
    <area shape="rect" coords="619,70,733,116" href="../training.html" target="_parent">
    <area shape="rect" coords="774,70,880,115" href="../contact.html" target="_parent">
  </map>
  <div id="Layer1" style="position:absolute; width:922px; height:539px; z-index:1; left: 232px; top: 185px;"><!--START SIMPLEVIEWER EMBED.-->
    <div id="sv-container"><!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
jQuery(document).ready(function () {
SV.simpleviewer.load("sv-container", "100%", "100%", "transparent", true );
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED --></div>
  </div>
  <!-- End ImageReady Slices -->
</div>
</BODY>
</HTML>

I really have no idea how to fix this....

Re: Viewer works in firefox, not in IE...

You should add a doctype, fix your HTML errors and you have <div id="sv-container"></div> defined twice.

Remove the bold pieces:
<div id="sv-container"><!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
jQuery(document).ready(function () {
SV.simpleviewer.load("sv-container", "100%", "100%", "transparent", true );
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED --></div>

Mike Richards
SimpleViewer Support Team.

Re: Viewer works in firefox, not in IE...

Thank you Mike, for your quick response.

I removed the bold highlighted pieces as you said, that didn't fixed the problem.

unfortunately I don't understand that much of the HTML errors, neither how to fix it. Any suggestions?

Re: Viewer works in firefox, not in IE...

Did you try clearing your browser's cache after you made the change?

Mike Richards
SimpleViewer Support Team.

Re: Viewer works in firefox, not in IE...

I did and after I added the doctype it works now in IE8, wich is good offcourse  big_smile

I still have the same problem in IE7.  sad  The viewer appears, but very tiny in the uppercorner, only the top line.

Eitherway I'm very happy with your support tips, thank you!