资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
JavaScript教程
>>>
仿Vista进程条效果
<html xmlns="http://schemas.microsoft.com/intellisense/html-401"> <head> <title></title> </head> <body> <div style="position:absolute;top:10%;width:100; left: 108px;"> <image src="http://files.glzy8.com/upload/2007322214542779.jpg" style="position: absolute; left: 84px; top: 137px;" /> <div id="pb" style="position: absolute; left: 86px; top: 137px;z-index:5;overflow:hidden;width:130;" > <img src="http://files.glzy8.com/upload/2007322214550990.jpg" _ewebeditor_ta_src="http%3A%2F%2Ffiles.glzy8.com%2Fupload%2F2007322214550990.jpg"/> <div id="highlight" style="background:#ffffff;left: -500px; position: absolute; top: -1px;width:100;height:20;filter:Alpha(Opacity=75,FinishOpacity=0,Style=2)"></div> </div> <div style="position:absolute;top:83px;width:180px; left: 148px;"> 加载中请稍候...... </div> </div> </body> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20type%3D%22text%2Fjscript%22%3E%20%20%0D%0Afunction%20DoubleAnimation(target%2CtargetProperty%2Cfrom%2Cto%2CDuration)%20%20%0D%0A%7B%20%20%0D%0A%20%20%20%20this.Begin%3Dfunction%20anonymous()%20%20%0D%0A%20%20%20%20%7B%20%20%0D%0A%20%20%20%20%20%20%20%20target%5BtargetProperty%5D%3Dfrom%3B%20%20%0D%0A%20%20%20%20%20%20%20%20var%20starttime%3Dnew%20Date()%3B%20%20%0D%0A%20%20%20%20%20%20%20%20setTimeout(StoryBoard()%2C1)%3B%20%20%0D%0A%20%20%20%20%20%20%20%20function%20StoryBoard()%20%20%0D%0A%20%20%20%20%20%20%20%20%7B%20%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20function()%20%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20now%3Dnew%20Date()%3B%20%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20d%3Dnow.getTime()-starttime.getTime()%3B%20%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20target%5BtargetProperty%5D%3DMath.round(from%2B(to-from)*d%2FDuration)%3B%20%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if(d%3CDuration)setTimeout(StoryBoard()%2C10)%3B%20%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%20%0D%0A%20%20%20%20%20%20%20%20%7D%20%20%0D%0A%20%20%20%20%7D%20%20%0D%0A%7D%20%20%0D%0Avar%20story%3Dnew%20DoubleAnimation(highlight.style%2C%22left%22%2C-100%2C100%2C1300)%20%20%0D%0AsetInterval(%22story.Begin()%22%2C1300)%3B%20%20%0D%0A%3C%2Fscript%3E"> </html>
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程