>
设为首页
>
收藏本站
>
最新电影
首页
运营资讯
今日英语
图形图像
计算机技术
Asp编程
网站结构化
资源共享
休闲娱乐
访问新站
您现在的位置:
首页
=>
后台技术
=>
脚本特效
=>
页面特效
订阅本栏目
百叶窗方式打开页面
时间: 2008-06-05 23:46:49 阅读次数:2609
百叶窗方式打开页面
<html> <head> <title>网页特效|www.ffasp.com 飞飞Asp乐园|---页面产生百叶窗</title> <style>.intro { BACKGROUND-COLOR: green; BORDER-BOTTOM: green 0px solid; BORDER-LEFT: green 0px solid; BORDER-RIGHT: green 0px solid; BORDER-TOP: green 0px solid; LEFT: 0px; POSITION: absolute; TOP: 0px; layer-background-color: green } </style> <style type="text/css">BODY { FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px; MARGIN-TOP: 0px } A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none } A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline } A:active { COLOR: #ff0033; CURSOR: hand; FONT: 9pt "宋体" } </style> <meta content="text/html; charset=gb2312" http-equiv="Content-Type"> </head> <body bgColor="#800000"> <div class="intro" id="i1"></div><div class="intro" id="i2"></div><div class="intro" id="i3"></div><div class="intro" id="i4"></div><div class="intro" id="i5"></div><div class="intro" id="i6"></div><div class="intro" id="i7"></div><div class="intro" id="i8"></div><script language="javascript"> <!-- var speed=30 var temp=new Array() var temp2=new Array() if (document.layers){ for (i=1;i<=8;i++){ temp[i]=eval("document.i"+i+".clip") temp2[i]=eval("document.i"+i) temp[i].width=window.innerWidth/8-0.3 temp[i].height=window.innerHeight temp2[i].left=(i-1)*temp[i].width } } else if (document.all){ var clipbottom=document.body.offsetHeight,cliptop=0 for (i=1;i<=8;i++){ temp[i]=eval("document.all.i"+i+".style") temp[i].width=document.body.clientWidth/8 temp[i].height=document.body.offsetHeight temp[i].left=(i-1)*parseInt(temp[i].width) } } function openit(){ window.scrollTo(0,0) if (document.layers){ for (i=1;i<=8;i=i+2) temp[i].bottom-=speed for (i=2;i<=8;i=i+2) temp[i].top+=speed if (temp[2].top>window.innerHeight) clearInterval(stopit) } else if (document.all){ clipbottom-=speed for (i=1;i<=8;i=i+2){ temp[i].clip="rect(0 auto+"+clipbottom+" 0)" } cliptop+=speed for (i=2;i<=8;i=i+2){ temp[i].clip="rect("+cliptop+" auto auto)" } if (clipbottom<=0) clearInterval(stopit) } } function gogo(){ stopit=setInterval("openit()",100) } gogo() --> </script> </body> </html>
提示:您可以先修改部分代码再运行
站内搜索
:
标题
内容
下一篇
页面飘小雪特效
上一篇
无法拦截与屏蔽的网页漂浮图片广告代码 完全自定义 全屏飘动
本栏目最新
栏目最新列表
使用JS对select动态添加options操作 [IE&Fi
符合标准的对联广告代码
使用js/javascript制作特殊的字符效果
图片上传预览,可显示文件大小,宽、高
文件上传前台控制检测预览程序 v0.6
网站优化策划
栏目最新列表
增加网站外链的快速方法
网站上线前必做的30个检查
新的友情链接参考标准(没有google的PR情况
优化Google的AdSense广告的五个工具
王通讲SEO八大基础
站点最新
站点最新列表
微博推广的一些技巧
xhEditor v1.1.7 发布,
收集的一些轻量级非常实
50个新鲜兼容最新版本的
javascript中cookie的设
Excel中出现#VALUE!、#D
jquery插件:飞飞表情插件
十个使用HTML5开发的精彩
支持HTML5的浏览器有哪些
飞妮莫属:漫画:如何写出
历史最热10条信息
MIME介绍 及
[
1
] [
2
] [
3
]
巧用Google和迅雷来下载
Transact SQL 常
[
1
] [
2
]
VIA Rhine II Fast Ethe
电脑常用端
[
1
] [
2
] [
3
]
Do you get a kick out
十道羊皮卷 欣赏+mp3版+
每日一句:A friend and
每日一句:Theres no tu
经典__悟透JavaScript
伟哥博客
西安房产
123最新电影
三四六四
关于站点
|
免责声明
|
联系站长
|
网站地图
|
陕ICP备07002804号
WEB技术QQ交流群:72840059
©2007 ffasp.com. 版权所有