Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
Vanilla 1.0.1 is a product of Lussumo. More Information: Documentation, Community Support.
TB_show(t,this.href,g);
self.parent.TB_show(t,this.href,g);onclick="self.parent.TB_show((this.title || this.name || null),this.href,(this.rel || false));return false"
function TB_init(){
$("a.thickbox").click(function(){
var t = this.title || this.name || null;
var g = this.rel || false;
self.parent.TB_show(t,this.href,g); <------ edited line
this.blur();
return false;
});
}
<a href="your_link_url" class="thickbox" rel="your_link_description">link</a>
onclick="self.parent.TB_show((this.title || this.name || null),this.href,(this.rel || false), window);return false;"TB_show(t,this.href,g);TB_show(t,this.href,g,window);function TB_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox linkfunction TB_show(caption, url, imageGroup, refWindow) {//function called when the user clicks on a thickbox linkTB_TempArray = $("a[@rel="+imageGroup+"]").get();TB_TempArray = refWindow.$("a[@rel="+imageGroup+"]").get();TB_show(TB_PrevCaption, TB_PrevURL, imageGroup);TB_show(TB_PrevCaption, TB_PrevURL, imageGroup, refWindow);TB_show(TB_NextCaption, TB_NextURL, imageGroup);TB_show(TB_NextCaption, TB_NextURL, imageGroup, refWindow);
<a href="big_image_url"><img src="thumbnail_url" onclick="self.parent.TB_show((this.title || this.name || null),
this.href, (this.rel || false), window);return false;"/></a>
tb_show(t,a,g);self.parent.tb_show(t,a,g,window);function tb_show(caption, url, imageGroup)function tb_show(caption, url, imageGroup, refWindow)TB_TempArray = $("a[@rel="+imageGroup+"]").get();TB_TempArray = refWindow.jQuery("a[@rel="+imageGroup+"]").get();tb_show(TB_PrevCaption, TB_PrevURL, imageGroup);tb_show(TB_PrevCaption, TB_PrevURL, imageGroup, refWindow);tb_show(TB_NextCaption, TB_NextURL, imageGroup);tb_show(TB_NextCaption, TB_NextURL, imageGroup, refWindow);tb_init("#TB_ajaxContent a.thickbox");refWindow.tb_init("#TB_ajaxContent a.thickbox");1 to 21 of 21