Topic: Simple Gallery not working on ie6

I have just developed a website for my friend using Simple Gallery 2:
Everything is working fine except IE6. I am not able to test it but somebody who is using IE6 still mentioned that he can not see anything, that the gallery is not loading.

As I browse this forum I found several topics regarding problems with IE but nothing is good for me.
I have tried to use javascript only to display the gallery: ,  this is not working on the IE7 even.

And also object tag without embed but still I am not sure if it is right:

Please somebody help me.

Thank you

Last edited by pavol.sloboda (2010-02-10 15:41:53)

Re: Simple Gallery not working on ie6

Two things, I would fix the validation errors and chose between SWFObject and the object/embed tags you should not be using both. If you decide to use  the object/embed tags instead of SWFObject I would recommend removing the embed tag piece.

Your code for

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="">
<meta name="google-site-verification" content="7HUpmixkejyuOGwTvZYeN6exfvPJ1WqhlgM_Uk2NQ90" /> 
<!-- Svadobne galerie --> 
<title>studio-foto: svadobná fotografia, portrétna fotografia, detská fotografia</title>
<meta name="description" content="svadobná fotografia, fotografovanie svadieb, svadobné fotografie, svadobný fotograf, Nitra, Trencin" />
<meta name="keywords" content="svadobna fotografia, fotografovanie svadieb, svadobne fotografie, fotografovanie svadobného obradu, svadobny fotograf, portrety, svadba foto, cena, ceny, cennik, Nitra, Trencin, Andrej Luprich" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta http-equiv="Content-Language" content="sk" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script src="js/jquery.js" type="text/javascript"></script>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="swfobject2.js"></script>
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />
<link rel="stylesheet" href="style.css" type="text/css" />
<!--<style media="all" type="text/css" >@import url( "style.css" );

<style type="text/css">
img, a, li, div { behavior: url( }
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="ie6.css" /><![endif]-->

<!-- cela stranka -->
<div id="page-center">
    <div id="top">
     <div class="fl">
       <a href="index.php" title="na úvod" class="logo"><span>Na úvod</span></a>

     <div class="fr">
       <a href="" target="_blank" class="blog"><span style="display:none">prejsť na blog</span></a>
<!-- menu -->
    <div class="menu">
       <ul id="menu">
        <li><a href="index.php" class="uvod"><span>Úvod</span></a></li>
        <li><a href="index.php?p=profil" class="profil"><span>Profil</span></a></li>
        <li><a href="index.php?p=sluzby" class="sluzby"><span>Služby</span></a></li>

        <li><a href="index.php?p=kontakt" class="kontakt"><span>Kontakt</span></a></li>
<!-- content -->
<div id="content-obal">
  <div id="submenu"><a href="#">rande</a> | <a href="index.php?p=svadba">svadobná fotografia</a> | <a href="index.php?p=deti">deti</a> </div>

  <div id="content">
    <div style="clear: both"></div>
    <script type="text/javascript" src=""></script> <script type="text/javascript">
            var flashvars = {};
            flashvars.galleryURL = "veronika-coco.xml";
            var params = {};            
            params.allowfullscreen = true;
            params.allowscriptaccess = "always";
            params.quality = "high";
            params.wmode = "transparent";
            swfobject.embedSWF("simpleviewer.swf", "content", "100%", "620px", "9.0.124", false, flashvars, params);
<div id="content">SimpleViewer requires JavaScript and the Flash Player. <a href="">Get Flash</a></div>

<object width="100%" height="620px"><param name="movie" value="Main.swf?galleryURL=veronika-coco.xml"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="transparent"></param><embed src="simpleviewer.swf?galleryURL=veronika-coco.xml" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="100%" height="620px" wmode="transparent"></embed></object>  


<!-- footer -->
<div id="content-bottom">
  <div class="footer">
  &copy; Copyright 2009 <strong> / Andrej Luprich</strong> |
  <a href="" title="created by studio1 | reklama a dizajn" target="_blank" class="s1"><span>created by studio1 | reklama a dizajn</span></a>

<script src="" type="text/javascript">
<script type="text/javascript">
_uacct = "UA-3721001-1";
Mike Richards
SimpleViewer Support Team.