首页 > 其他 > 详细

layer弹层 展示

时间:2016-10-09 20:43:26      阅读:165      评论:0      收藏:0      [点我收藏+]

<td width="107" height="42"   class="contract" myhref="{:U(‘/Manage/Merchant/contract‘, array(‘id‘=>$item[‘merchant_id‘]) )}">合作协议</td>

 

<script>

$(‘.contract‘).click(function(){

            var href =  $(this).attr("myhref");

            var title =  $(this).attr("title");

            layer.open({

                type: 2,

                title: title,

                fix: true,

                shadeClose: false,

                area: [‘800px‘, ‘600px‘],

                content: href,

                maxmin: true

            });

</script>

本文出自 “json在php中的使用” 博客,谢绝转载!

layer弹层 展示

原文:http://zhaozhangxiao.blog.51cto.com/10609825/1859887

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!