找了个别人写的遮掩层进行改善,感觉效果还可以。
效果图:
代码:
tipswindown <script src="js/jquery-1.8.js" type="text/javascript">《script》 <script src="js/tipswindown.js" type="text/javascript">《script》 <script type="text/javascript"> $(function () { $("#DialogShow").click(function () { tipsWindown("CnBlogs", "id:dialog", "450", "200", "true", "", "true", "id"); }); }) function Ok() { window.location.href = "http://www.cnblogs.com/"; } function Cancel() { $("#windownbg").remove(); $("#windown-box").fadeOut("1000", function () { $(this).remove(); }); } 《script》
以上就是jquery弹出遮掩层效果【附实例代码】_jquery的内容,更多相关内容请关注PHP中文网(www.php1.cn)!