Closing a Dialog Box, Opening a New One and it is Grayed out (Colorbox)
- by Scott Faisal
$.fn.colorbox({width:"40%", inline:true,href:"#somediv", opacity:"0.50",transition:"none", height:"490px"});
On #somediv above I have a button that once clicked executes the
following code:
line#45 $.fn.colorbox({href:"http://www.facebook.com", width:"65%",height:"80%",iframe:true});
I see facebook.com however the overlay is grayed out.
I even tried using the following code instead of line#45 :
$(document).one('cbox_closed', function(){
setTimeout(function(){
$.fn.colorbox({href:"http://www.facebook.com", width:"65%",height:"80%", iframe:true});},2);
});
Now all I see is a blank overlay. Any suggestion guys?