Open Colorbox on page load

I have been trying to make the colorbox work on page load, but I can see only the loading with a plain background. I used this code

$.fn.colorbox({id:'', title:'',open:true});

You can find the demo here

http://www.bloggermint.com/demos/popupsub/colorbox/example5/index.html

Answers


EDITED:

<script type="text/javascript"> 
        $(document).ready(function(){
          $.colorbox({width:"30%", inline:true, href:"#subscribe"});
        }); 
</script>  

Need Your Help

Parsing UTF-8/unicode strings with lxml HTML

python parsing unicode utf-8 lxml

I have been trying to parse with etree.HTML() a text encoded as UTF-8 without success.

Ternary operator (alternatives)

sap abap

Is there a ternary or conditional operator available in the ABAP syntax? I haven't found one so am assuming that the answer is no but is there then an alternative that I can use to clear up the com...