ผมทำอยู่ครับ โหลดตัีว colorbox มาก่อน
http://www.jacklmoore.com/colorbox ใส่ ตัวนี้ใน <head></head>
<!-- colorbox-->
<link media="screen" rel="stylesheet" href="colorbox/colorbox.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
if (document.cookie.indexOf('visited=true') == -1) {
var fifteenDays = 1000*60*60*24*15;
var expires = new Date((new Date()).valueOf() fifteenDays);
document.cookie = "visited=true;expires=" expires.toUTCString();
$.fn.colorbox({width:"860px", inline:true, href:"#subscribe"});
}
});
</script>
<!-- coloerbox end-->
ใส่ ใน <body>
<div style='display:none'>
<div id='subscribe' title='sub' style='padding:5px; background:#fff;'>
<p><img src="images/รูปภาพ.jpg" border="0" /></p>
</div>
</div>