在提到另外一個問題,我發現:How can I dynamically resize the jQuery Colorbox plugin?顏色框調整
如果我想調整的回調內部的顏色框,我會怎麼稱呼呢?另外,是否可以禁用滾動,直到調整大小完成,然後啓用它?
$("a[rel='colorbox']").colorbox({
onComplete: function() {
????.colorbox.resize(); // what in the world goes here to get the colorbox?
},
preloading: true
});
謝謝,這沒有什麼意義,但它的工作原理。我認爲這將再次應用colorbox效果。 – Ciel 2010-01-28 18:13:25