摘要:
今天写静态,要用到javascript来做个遮罩效果,要个自己的遮罩层做添加个z-index的属性起初的javascript代码是这样写的:View Code 1 function show(strId) { 2 document.getElementById(strId).style.display = 'block'; 3 var sWidth, sHeight; 4 sWidth = parent.document.body.clientWidth; 5 sHeight = parent.document.body.clientHeight; 6 var bgObj = 阅读全文
posted @ 2013-03-21 20:31
拓荒er
阅读(1864)
评论(0)
推荐(0)

浙公网安备 33010602011771号