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