this jquery code enable you to show the box when click any specific text now i want it appear in the page start not in click i mean when the page 开发者_如何学运维open it appear automatic
<div id="popup">
Hello World
</div>
And the script
jQuery(document).ready(function ()
{
if (document.getElementById("popup") != null)
{
$.facebox($('#popup').html());
}
}
Yes you can like so
$(document).ready(function(){$.facebox($(your_selecor_here);});
精彩评论