Javascript HTML颜色框查询
嗨,我有一个问题,我在这里使用colorbox javascript。我正在尝试使用Javascript HTML颜色框查询,javascript,jquery,html,lightbox,Javascript,Jquery,Html,Lightbox,嗨,我有一个问题,我在这里使用colorbox javascript。我正在尝试使用 <a class="callbacks cboxElement" href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a> 它在本页上告诉您:谢谢您提供的链接,我可能错过了: $.colorbox({ onOpen:fun
<a class="callbacks cboxElement" href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>
它在本页上告诉您:谢谢您提供的链接,我可能错过了:
$.colorbox({
onOpen:function(){ alert('onOpen: colorbox is about to open'); },
onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
});