登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

 
 
 

日志

 
 

图片特效代码  

2008-11-01 11:43:19|  分类: 博客代码 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
代码:

<DIV style="LEFT: 0px; OVERFLOW: hidden; WIDTH: 500px; POSITION: relative; TOP: 5px; HEIGHT: 700px">
<DIV style="LEFT: 0px; POSITION: absolute; TOP: 0px"><?import namespace = t urn = "urn:schemas-microsoft-com:time" implementation = "#default#time2" declareNamespace /><t:SEQ repeatCount = "indefinite"><t:MEDIA style="FILTER: alpha; LEFT: 0px; WIDTH: 500px; POSITION: absolute; TOP: 0px" src = "http://photo.pic.sohu.com/images/travel/2005-08-01/1067721f938.jpg" dur = "3" fill = "transition" timeContainer = "par"><t:TRANSITIONFILTER from = "0" to = "1" type = "fade" dur = "2"></t:TRANSITIONFILTER></t:MEDIA><t:MEDIA style="FILTER: alpha; LEFT: 0px; WIDTH: 500px; POSITION: absolute; TOP: 0px" src = "http://photo.pic.sohu.com/images/travel/2005-08-01/1067721f941.jpg" dur = "3" fill = "transition" timeContainer = "par"><t:TRANSITIONFILTER from = "0" to = "1" type = "ClockWipe" dur = "2"></t:TRANSITIONFILTER></t:MEDIA><t:MEDIA style="FILTER: alpha; LEFT: 0px; WIDTH: 500px; POSITION: absolute; TOP: 0px" src = "http://photo.pic.sohu.com/images/travel/2005-08-01/1067721f93d.jpg" dur = "3" fill = "transition" timeContainer = "par"><t:TRANSITIONFILTER from = "0" to = "1" type = "snakeWipe" dur = "2"></t:TRANSITIONFILTER></t:MEDIA><t:MEDIA style="FILTER: alpha; LEFT: 0px; WIDTH: 500px; POSITION: absolute; TOP: 0px" src = "http://photo.pic.sohu.com/images/travel/2005-08-01/1067721f945.jpg" dur = "3" fill = "transition" timeContainer = "par"><t:TRANSITIONFILTER from = "0" to = "1" type = "ellipseWipe" dur = "2"></t:TRANSITIONFILTER></t:MEDIA></t:SEQ></DIV></DIV>

说明:
1.效果代码:
<t:TRANSITIONFILTER from="0" to="1" type="fade" dur="2">
type="fade":图片变化属性=值
值:
fade      图片渐显渐隐
barWipe      图片从左到右拉开
ClockWipe      图片像钟表一样旋转拉开
barnDoorWipe      图片从中间向两边拉开
slideWipe       图片右往左边拉开
irisWipe      图片正中矩形向外扩散
snakeWipe      图片蛇形展开
ellipseWipe       图片正中小圆向外扩散
spiralWipe      图片螺旋显示
pushWipe      图片右往左像推箱子一样

2.定位代码:
<DIV style="position:relative; top:150px; left:-190px; width:800px; height:390px;overflow: hidden">
width:800px; height:390px:定显示的宽和高,
top:150px; left:-70px;;定该显示离顶和左边的距离(和全屏原理一样)


全屏

代码:

<DIV style="LEFT: -120px; OVERFLOW: hidden; WIDTH: 800px; POSITION: relative; TOP: 150px; HEIGHT: 390px">
<DIV style="LEFT: 0px; POSITION: absolute; TOP: 0px"><?import namespace = t urn = "urn:schemas-microsoft-com:time" implementation = "#default#time2" declareNamespace /><t:SEQ repeatCount = "indefinite"><t:MEDIA style="FILTER: alpha; LEFT: 0px; WIDTH: 800px; POSITION: absolute; TOP: 0px" src = "http://www.sucaicd.com/ex/ex049/001_L.jpg" dur = "3" fill = "transition" timeContainer = "par"><t:TRANSITIONFILTER from = "0" to = "1" type = "fade" dur = "2"></t:TRANSITIONFILTER></t:MEDIA><t:MEDIA style="FILTER: alpha; LEFT: 0px; WIDTH: 800px; POSITION: absolute; TOP: 0px" src = "http://www.sucaicd.com/ex/ex049/002_L.jpg" dur = "3" fill = "transition" timeContainer = "par"><t:TRANSITIONFILTER from = "0" to = "1" type = "ClockWipe" dur = "2"></t:TRANSITIONFILTER></t:MEDIA><t:MEDIA style="FILTER: alpha; LEFT: 0px; WIDTH: 800px; POSITION: absolute; TOP: 0px" src = "http://www.sucaicd.com/ex/ex049/003_L.jpg" dur = "3" fill = "transition" timeContainer = "par"><t:TRANSITIONFILTER from = "0" to = "1" type = "snakeWipe" dur = "2"></t:TRANSITIONFILTER></t:MEDIA><t:MEDIA style="FILTER: alpha; LEFT: 0px; WIDTH: 800px; POSITION: absolute; TOP: 0px" src = "http://www.sucaicd.com/ex/ex049/004_L.jpg" dur = "3" fill = "transition" timeContainer = "par"><t:TRANSITIONFILTER from = "0" to = "1" type = "ellipseWipe" dur = "2"></t:TRANSITIONFILTER></t:MEDIA></t:SEQ></DIV></DIV></DIV>

醉龙归舟

归舟空间 

 

点击这里给我发消息

绘声绘影12视频教程【1】 - 醉龙归舟 -

醉龙归舟

情感文章
养眼酷图
音画图文
经典视听
电子图库
软件下载
特效大全
U5教程
代码汇编
时间特效
电脑知识 音画教程
博客代码 音画素材

  评论这张
 
阅读(367)| 评论(1)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018