国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > JavaScript > 正文

jquery彈出遮掩層效果【附實例代碼】

2019-11-20 10:11:29
字體:
供稿:網(wǎng)友

找了個別人寫的遮掩層進(jìn)行改善,感覺效果還可以。

效果圖:

代碼:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>tipswindown</title>  <link href="css/tipswindown.css" rel="stylesheet" type="text/css" />  <script src="js/jquery-1.8.js" type="text/javascript"></script>  <script src="js/tipswindown.js" type="text/javascript"></script>  <style type="text/css">    #main{width:300px;margin:50px auto;font-family: Arial, Calibri;}    #main .btn {width:150px;height:30px;line-height:30px;font-size:14px; vertical-align:middle; color: #333333; font-weight:bold; text-decoration:none; display:block; text-align:center;background: #CCC;}    #main .btn:hover{vertical-align:middle; color: #fff; font-weight:bold; text-decoration:none;display:block; text-align:center;background: #333;}  </style>  <script type="text/javascript">    $(function () {      $("#DialogShow").click(function () {        tipsWindown("CnBlogs", "id:dialog", "450", "200", "true", "", "true", "id");      });    })    function Ok() {      window.location.;    }    function Cancel() {      $("#windownbg").remove();      $("#windown-box").fadeOut("1000", function () { $(this).remove(); });    }  </script></head><body><div id="main">  <a href="javascript:void(0);" class="btn" id="DialogShow">DialogShow</a></div><div id="dialog" style="display:none";>  <div class="dialogtext">    <p>Please click on the ok button to go the http://www.cnblogs.com/ website and you should just wait. </p>    <p>If you are accessing this page by mistake please click on the cancel link.</p>  </div>  <div class="dislogbtn">    <a href="javascript:void(0);" class="btn" id="Ok" onclick="Ok()">Ok</a>    <a href="javascript:void(0);" class="btn" id="Cancel" onclick="Cancel()">Cancel</a>  </div></div>  </body></html>

以上這篇jquery彈出遮掩層效果【附實例代碼】就是小編分享給大家的全部內(nèi)容了,希望能給大家一個參考,也希望大家多多支持武林網(wǎng)。

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 信宜市| 方城县| 乌鲁木齐县| 甘孜| 阜南县| 承德市| 龙江县| 阿克| 旅游| 客服| 济阳县| 崇左市| 泸水县| 黎川县| 永城市| 龙江县| 健康| 麻江县| 剑川县| 罗田县| 兰西县| 银川市| 永丰县| 莫力| 开封县| 扎赉特旗| 咸阳市| 宝清县| 通江县| 宁德市| 南宫市| 清镇市| 镇安县| 五台县| 洛宁县| 界首市| 尼勒克县| 额敏县| 贡觉县| 林口县| 丹江口市|