How can I open a jQuery colorbox with an external site loaded. I have tried:
jQuery(document).ready(function(){
jQuery.colorbox({ href:"http://www.google.com", iframe: true });
});
But with no success. I have not been able to find an example of this from either the colo开发者_Python百科rbox-site or SO.
Do you want the colorbox to open on the load of your page.
If yes You need to write.
jQuery.fn.colorbox instead of just jQuery.colorbox.
also specifcy width and height elements for your colorbox iframe.
http://colorpowered.com/colorbox/core/example1/index.html is having an example in Other Content Types section
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论