[jQuery] struggling to get iframed content using jQuery Thickbox plugin for a calendar
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