JS常用特效(窗口类)
文章平均质量分 73
飞龙剑
这个作者很懒,什么都没留下…
展开
-
类似MSN右下角提示的窗口效果
类似MSN提示的页面效果-html5中文学习网www.htm15.com 看到右下角的提示了吗?如果没有看到,刷新一下 window.onload = getMsg; window.onresize = resizeDiv; window.onerror = function(){} //短信提示使用(asilas添加) var divTop,divLeft,div转载 2012-07-27 21:57:13 · 474 阅读 · 0 评论 -
弹出窗口自动关闭
#sponsorAdDiv {position:absolute; height:1; width:1; top:0; left:0;} --> adTime=6; //关闭窗口等待的时间 chanceAd=1; var ns=(document.layers); var ie=(document.all); var w3=(document.getElementById &转载 2012-07-27 22:10:41 · 1701 阅读 · 0 评论 -
纯用DIV弹出DIV窗口(经测试试用IE、firefox等浏览器)
LIGHTBOX EXAMPLE .black_overlay{ display: none; position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; background-color: black; z-index:1001; -moz-opacity: 0.8; opacity:.80; filter转载 2012-07-27 22:28:03 · 960 阅读 · 1 评论 -
仿XP关机效果的弹出窗口功能
html,body{font-size:12px;margin:0px;height:100%;} .mesWindow{border:#666 1px solid;background:#fff;} .mesWindowTop{border-bottom:#eee 1px solid;margin-left:4px;padding:3px;font-weight:bold;text-al转载 2012-07-27 22:25:03 · 2297 阅读 · 0 评论 -
用层模拟可移动的小窗口
_xWin http://www.htm15.com"> body{font-size:12px;} a:visited{text-decoration:none;color:slategray;} a:hover{text-decoration:underline;color:slategray;} a:link{text-decoration:none;color:sla转载 2012-07-27 22:26:17 · 578 阅读 · 0 评论 -
iframe自适应
//iframe高度自适应 function autoHeight() { var ifm= document.getElementById("riFram"); var subWeb = document.frames ? document.frames["riFram"].document : ifm.contentDocument; if(ifm !=原创 2012-08-23 17:46:01 · 617 阅读 · 0 评论