http://serennz.sakura.ne.jp/toybox/lightbox/
如何让脚本处理 ajax 加载的新元素?
此代码有效,但加载后无法缩放。;/
var lightbox = new Lightbox({
loadingimg:'resource/loading.gif',
expandimg:'resource/expand.gif',
shrinkimg:'resource/shrink.gif',
blankimg:'resource/blank.gif',
previmg:'resource/prev.gif',
nextimg:'resource/next.gif',
closeimg:'resource/close.gif',
/*effectimg:'resource/zzoop.gif',*/
effectpos:{x:-40,y:-20},
effectclass:'effectable',
resizable:true,
animation:true
});