弹出层 覆盖层


<!-- 要弹出的项目,放在一个div中 -->
<div style="width:550px;border:2px #ecf6fc solid;display:none;top:20%;left:20%;background:#fff;font-size:14px;position:relative;" id="pay_note_body">
<div style="margin:20px;">
<html-el:form action="/manager/Pay.do">
<html-el:hidden property="method" value="out" />

<table width="100%" border="0" cellpadding="0" cellspacing="1" class="datagrid">
<tr>
<th colspan="2" align="center">添加物流信息</th>
</tr>
<!-- 相关项目 -->
<tr>
<td> </td>
<td align="center"><html-el:button property="dist_save" styleClass="an" value=" 保存 " styleId="dist_save" />
<html-el:button property="back" styleClass="an" value=" 关闭 " styleId="btn_close_2" /></td>
</tr>
</table>
</html-el:form>
</div>
</div>


<script type="text/javascript" src="${ctx}/javascripts/lightBox.js"></script>
<script type="text/javascript">//<![CDATA[
$(document).ready(function(){
//覆盖层
var pay_note_body = new LightBox("pay_note_body");
pay_note_body.Over = true; //是否启用覆盖层 :true 、 false;
pay_note_body.OverLay.Color = "#000"; //覆盖层颜色 ,必须启用覆盖层才有作用
pay_note_body.OverLay.Opacity = 10; //覆盖层透明度
pay_note_body.Fixed = true; // 是否定位
pay_note_body.Center = true; //是否居中

$("#btn_close_2").click(function(){
// 关闭覆盖层
pay_note_body.Close();
});
// 弹出覆盖层
pay_note_body.Show();

});
//]]></script>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值