The main jQuery list is still the right place, as this list is dedicated to
discussing use of jQuery UI plugins ( see http://ui.jquery.com/ or
http://docs.jquery.com/UI for more info). Thanks.
Maybe try .attr("className") instead of .attr("class")
- Richard
On Wed, Sep 24, 2008 at 2:43 PM, Samuel <[EMAIL PROTECTED]> wrote:
>
> I understand, but my problem is not about Thickbox (since it works
> perfectly in IE6, I tried). I jut mentioned it in case it was useful,
> and apparently it's not.
> My problem is about the code I wrote, so you can consider my problem
> another way :
>
> <head>
> <script src="Scripts/jquery.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>
>
> Why doesn't it work with IE 6 ?
>
>
>
> On Sep 23, 2:47 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> > Or if you want help with Thickbox, ask on the main jQuery list:
> >
> > http://groups.google.com/group/jquery-en/
> >
> > - Richard
> >
> > On Mon, Sep 22, 2008 at 6:13 PM, Jaime Ochoa Malagón <[EMAIL PROTECTED]
> >wrote:
> >
> >
> >
> > > Thickbox is not ui jquery component try dialog
> >
> > > On Mon, Sep 22, 2008 at 2:41 PM, Samuel <[EMAIL PROTECTED]>
> wrote:
> >
> > > > 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.
> >
> > > --
> > > Perhaps the depth of love can be calibrated by the number of different
> > > selves that are actively involved in a given relationship.
> >
> > > Carl Sagan (Contact)
> >
> > > Jaime Ochoa Malagón
> > > Arquitecto de Soluciones
> > > Cel: +52 (55) 1021 0774
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---