我在jquery ajax實時內容上使用這個jQuery代碼來處理lightbox。但我想顯示下一個和預覽按鈕。現在只顯示圖片和關閉按鈕。我能怎麼做?
$('a[rel=gallery]').live('click', function() {
url = this.href; // this is the url of the element event is triggered from
$.fn.colorbox({href: url});
return false;
});