带关闭按钮的弹出层

<script type="text/javascript" language="javascript">
function show(checkbox_list){
    var checkbox_list = document.getElementById(checkbox_list);
checkbox_list.style.display = "block";
}
function hidden(checkbox_list){
    var checkbox_list = document.getElementById(checkbox_list);
checkbox_list.style.display = "none";
}
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="1" class="table"> 

<tr>
        <td colspan="7" style="position:relative;">
            <input name="b2" type="button" value="" class="button" οnclick="show('checkbox_sizemodellist')" />
            <!--div begin-->
                <div id="checkbox_sizemodellist" style="display:none;z-index:2000;position:absolute;left:3px;top:23px;border:1px solid #06c;padding:0px;background:#fff;">
                    <div style="background:#0184de;text-align:right;padding-right:3px; color:#FFFFFF"><span style="float:left">Ƭ</span><span style="width:12;border-width:0px;color:white;font-family:webdings; cursor:hand; left:-200;" οnclick="hidden('checkbox_sizemodellist')">r</span></div>
                    
                    &nbsp;&nbsp; &nbsp;&nbsp;<input name="" type="button" class="button" style="width:40px;" value="ύ"/>&nbsp;<input name="" class="button" type="button" οnclick="hidden('checkbox_sizemodellist')" value="ر" style="width:40px;"/><br />
                </div>
            <!--div end-->
        </td>
  </tr>
</table>
<p>&nbsp;</p>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值