Whoa… That works ! ??
Btw, I add those code like this
jQuery(document).ready(function($){
$(document).bind('cbox_open', function () {
// Hide close button initially.
$('#cboxClose').css('opacity', 0);
});
$(document).bind('cbox_complete', function () {
// Show close button with a delay.
$('#cboxClose').show('fast', 0, function () {$(this).css('opacity', 1)});
});
$(document).ready(function(){
$('#colorbox').live('click', function(){
$.fn.colorbox.close();
});
});
});
Not like this
jQuery(document).ready(function($){
$(document).bind('cbox_open', function () {
// Hide close button initially.
$('#cboxClose').css('opacity', 0);
});
$(document).bind('cbox_complete', function () {
// Show close button with a delay.
$('#cboxClose').show('fast', 0, function () {$(this).css('opacity', 1)});
});
});
$(document).ready(function(){
$('#colorbox').live('click', function(){
$.fn.colorbox.close();
});
});
Thank you very much ! ??