最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

JQuery彈出炫麗對話框的同時(shí)讓背景變灰色

 更新時(shí)間:2014年05月22日 17:11:57   作者:  
這篇文章主要介紹JQuery實(shí)現(xiàn)彈出炫麗對話框的同時(shí)讓背景變灰色效果,需要的朋友可以參考下
這段時(shí)間在做開發(fā)時(shí),用到了JQuery彈出炫麗對話框,背景變灰色。特地和大家分享分享。

先看效果圖:
 
代碼如下:
復(fù)制代碼 代碼如下:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="js/jquery-1.9.1.js"></script>
<script src="js/jquery-ui.js"></script>
<link rel="stylesheet" type="text/css" href="css/jquery-ui.css">
<title>JQuery彈出框,背景變灰色</title>
<script type="text/javascript">
$(document).ready(function(e) {
$( "#reviews" ).bind('click',function(event) {
$( "#checkandPass" ).dialog({
autoOpen: true,
width: 765 ,
show: "blind",
hide: "explode",
modal: true,//設(shè)置背景灰的
});
$( "#checkandPass" ).dialog( "open" );
return true;
});
});
</script>
</head>

<body>
<div>
<input type="button"id="reviews"value="Click me"/>
</div>
<div id="checkandPass" title="審核意見" style="display: none;">
<form id="passideas_true" method="post" enctype="multipart/form-data" >
<div>
<textarea style="width:100%;height:90%;min-height: 100px;"></textarea>
</div>
<div style="margin-top: 20px;text-align: center;">
<button style="height:30px;width:80px;" type="button" id="upfpass_true" >確定</button>
<button style="height:30px;width:80px;" id="sb">取消</button>
</div>
</form>
</div>
</body>
</html>

保證是你要的效果。

相關(guān)文章

最新評論

九龙坡区| 蛟河市| 敖汉旗| 黎川县| 蓬安县| 开原市| 邵武市| 富阳市| 巴塘县| 彰武县| 和顺县| 新蔡县| 吉隆县| 高碑店市| 清镇市| 富宁县| 应用必备| 泰兴市| 来凤县| 永川市| 瑞金市| 乳山市| 吉水县| 敦化市| 新泰市| 叙永县| 林甸县| 来安县| 讷河市| 阆中市| 逊克县| 南澳县| 武城县| 泽州县| 韩城市| 马龙县| 绩溪县| 内黄县| 佳木斯市| 遂宁市| 那曲县|