Friday, September 21, 2012

Onpage load poup by jquery

<link media="screen" rel="stylesheet" href="colorbox.css" />
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="http://www.javascript-coder.com/files/jquery-popup/modal-popup/jquery.colorbox-min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function()
{
    $(window).bind('load',
        function(e)
        {
            $.colorbox({opacity:0.3, href:"test.html"});
        });
});
</script>

No comments:

Post a Comment