Any event to close the jQuery colorbox while it's loading?
+1
A:
If you're talking about a function, then $.fn.colorbox.close()
will close the colorbox if it's shown, regardless of whether it is still loading. If you're talking about an event, you'll need to elaborate.
Max Shawabkeh
2010-03-15 11:44:41
I'm loading some information into colorbox,while loading i should be able to close the colorbox. Once the content is loaded then $.fn.colorbox.close() will work, but while loading Is it possible to close?
Ganesh
2010-03-15 12:00:13
A:
onLoad:function(){ parent.$.fn.colorbox.close();}
use this function on where you are opening the colorbox.
nik
2010-03-29 07:20:02