欧美国产另类久热|951超碰伊人久久|伊人影视久久久久|色婷婷亚洲小电影|色东京热69XX|婷婷玖玖深爱网|加勒比东京热网站|无码A级毛片在线观看|一级a毛一级a看|中文字幕人妻欧美

jquery彈出遮掩層效果
來源:易賢網(wǎng) 閱讀:1228 次 日期:2016-07-06 13:44:45
溫馨提示:易賢網(wǎng)小編為您整理了“jquery彈出遮掩層效果”,方便廣大網(wǎng)友查閱!

下面小編就為大家?guī)硪黄猨query彈出遮掩層效果【附實(shí)例代碼】。小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考,一起跟隨小編過來看看吧

找了個(gè)別人寫的遮掩層進(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彈出遮掩層效果【附實(shí)例代碼】就是小編分享給大家的全部內(nèi)容了,希望能給大家一個(gè)參考

更多信息請查看網(wǎng)絡(luò)編程
易賢網(wǎng)手機(jī)網(wǎng)站地址:jquery彈出遮掩層效果
由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復(fù)僅供參考,敬請考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇?zhǔn)!
關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺(tái) | 手機(jī)站點(diǎn)

版權(quán)所有:易賢網(wǎng)