Since you're adding the class="thickbox" using jquery, you'll need to
make sure you call the tb_init() function again AFTER you set the
class.
What's probably happening is that the tb_init function is running
BEFORE the class="thickbox" is set.

On Jun 27, 10:05 am, mjatharvest <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm working on a calendar for a site in the works at this 
> link:http://208.79.237.221/events/
>
> My goal is that when a user clicks on a link within the calendar the
> details of that event pop up in a thickboxs iframe.
>
> I'm adding the class="thickbox" and query string to all the links in
> the tables via jQuery because I can't do it through the CMS.
>
>  $("table.calendar a").addClass("thickbox").each(function(){
>                 var href = $(this).attr('href');
>                 var query = 
> "/?KeepThis=true&TB_iframe=true&height=400&width=600";
>                 $(this).attr('href', href+query);
>         });
>
> This is working properly, but I can't figure out it follows the link
> instead of opening up in a thickbox. Any help would be appreciated.
>
> Thanks

Reply via email to