Hi,

I've created a basic application of Thickbox, combined with show().
This works perfectly with Firefox 3, but Internet Explorer 6 doesn't
do anything (not even a error message !) I want this thing to work
everywhere, so I am asking for your help.

The code is :

<head>
    <link href="Scripts/thickbox.css" rel="stylesheet" type="text/
css" />
    <script src="Scripts/jquery.js" type="text/javascript"></script>
    <script src="Scripts/thickbox.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function(){
        $("li").click(function () {
            var class = "div." + $(this).attr("class");
            $(class).show();
        });
    });
</script>
</head>

<body>
<ul style="cursor:pointer;">
        <li class="soirees">Soirées</li>
        <div class="soirees" style="display:none;text-align:center;">
            <a href="1.JPG" title="" class="thickbox" rel="gallery-
soirees"><img src="1.JPG" alt="" height="70" width="106" /></a>
            <a href="2.JPG" title="" class="thickbox" rel="gallery-
soirees"><img src="2.JPG" alt="" height="70" width="106" /></a>
        </div>
        <li>....</li>
</ul>
</body>

What is disturbing IE 6 ? Thank you in advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to