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.
<input alt="#TB_inline?height=300&width=400&inlineId=myOnPageContent"
title="add a caption to title attribute / or leave blank"
class="thickbox" type="button" value="Show" />If you use Ajax content, ThickBox will now open new content in the current ThickBox. Meaning that after the content is loading via Ajax into a ThickBox the content is parsed for any area or link elements with a class of thickbox. This will allow you to load new content into the current thickbox
if(IsDefined(TB_CALLBACK)){eval(TB_CALLBACK+"();");};
IsDefined = function(variable){
return eval('(typeof('+variable+') != "undefined");');
}
var resized = Thickbox.zoom('out');
if (resized) Thickbox.curimg.onclick = function() {
if (Thickbox.wra.style.position === 'absolute') Thickbox.zoom('out');
else Thickbox.zoom('in');
}Thickbox.zoom('in'); var vwidth = Thickbox.viewport()[0];
if (full[0] > vwidth) {
document.body.style.width = vwidth + 'px';
document.body.style.marginLeft = 'auto';
document.body.style.marginRight = 'auto';
document.documentElement.style.width = (full[0] + 10) + 'px';
var ml = (full[0] + 10 - vwidth)/2;
w.style.marginLeft = '-' + ml + 'px';
window.scroll(ml,self.pageYOffset || document.documentElement.scrollTop);
}$(document).ready(function(){
$("a.Ajax").thickbox({mode: "ajax",width: "90%", height: "90%"});
$("img.album1").thickbox({mode: "album", resize: true});
});1 to 38 of 38