码迷,mamicode.com
首页 > 其他好文 > 详细

cesu9

时间:2018-05-15 22:46:48      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:img   cli   asc   popup   element   type   enter   set   splay   

<script type="text/javascript">
// 博客签名脚本 //
function btn_donateClick() {
var DivPopup = document.getElementById(‘Div_popup‘);
var DivMasklayer = document.getElementById(‘div_masklayer‘);
DivMasklayer.style.display = ‘block‘;
DivPopup.style.display = ‘block‘;
var h = Div_popup.clientHeight;
with (Div_popup.style) {
marginTop = -h / 2 + ‘px‘;
}
}

function MasklayerClick() {
var masklayer = document.getElementById(‘div_masklayer‘);
var divImg = document.getElementById("Div_popup");
masklayer.style.display = "none";
divImg.style.display = "none";
}

setTimeout(
function () {
document.getElementById(‘div_masklayer‘).onclick = MasklayerClick;
document.getElementById(‘btn_donate‘).onclick = btn_donateClick;
var a_gzw = document.getElementById("guanzhuwo");
a_gzw.href = "javascript:void(0);";
$("#guanzhuwo").attr("onclick","follow(‘20262d02-687d-4752-11ca-08d49c352df3‘);");
}, 900);
</script>


<div style="font-size: 18px" width="350" height="300" align="center"><b>&nbsp;&gt;&gt;&gt;转载请注明出处&lt;&lt;&lt;</b></div>

cesu9

标签:img   cli   asc   popup   element   type   enter   set   splay   

原文地址:https://www.cnblogs.com/Sutter/p/9043098.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!