文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 【网页特效代码-页面特效】在网页中弹出一个小的警告小窗口
侵权投诉

【网页特效代码-页面特效】在网页中弹出一个小的警告小窗口

【黑客代码-黑客技术文档-精品推荐!都是精华!网页设计-网站建设-最新实用技巧经典技术文档免费下载】

<STYLE>
*{ padding:0; margin:0; font-size:12px;}
#bg{background:#000000;opacity: 0.5;-moz-opacity:0.5; filter:alpha(opacity=50); width:100%; height:100%;position:absolute; top:0; left:0}
#info{height:0px; width:0px;top:50%; left:50%;position:absolute; line-height:1.7}
#center{background:#fff;border:1px solid #217AC1; width:300px; height:100px; position:absolute; margin:-50px -150px;}
#center strong{ display:block; padding:2px 5px; background:#EBF4FC; color:#519FEE;}
#center p{padding:10px; text-align:center; color:#1C6FB8;}
</STYLE>
<SPAN id=boxs></SPAN><A href="javascript:boxs(1);">点这里测试一下</A>
<SCRIPT>
function boxs(v){
window.scrollTo(0,0);
var bo = document.getElementsByTagName('body')[0];
var ht = document.getElementsByTagName('html')[0];
var boht = document.getElementById('boxs');
boht.innerHTML = '';
bo.style.height='auto';
bo.style.overflow='auto';
ht.style.height='auto';
if(v == 1){
bo.style.height='100%';
bo.style.overflow='hidden';
ht.style.height='100%';
boht.innerHTML = '<div id="bg"></div><div id="info"><div id="center"><strong>友情提醒:</strong><p><a href="javascript:boxs(0);">关闭</a></p></div></div>';
}
}
</SCRIPT>
<BR><BR><BR><BR><BR><BR>Q291911320<BR><BR><BR><BR><BR><BR>wangyeba.com<BR><BR><BR><BR><BR><BR>webjx.com<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>webjx.com<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>wangyeba.com <A href="javascript:boxs(1);">点这里测试一下</A>

第1页

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email