您好!欢迎您光临一组应用的特效代码_艺苑真情! 聊天室 I 论坛 I 企业建站 I

会员注册

I

本站搜索

I

收藏本站

教材园地 精品再现
 2007.08.22 12:55:30星期三

当前位置:首页 >>>网页制作>>>一组应用的特效代码
一组应用的特效代码
发表日期:2007/7/7 14:15:00 出处:未知 作者:未知 发布人:qpxy 已被访问 688
代码:

<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;;定该显示离顶和左边的距离(和全屏原理一样)

 

 

双击自动滚屏 【打印本页】 【关闭窗口

上篇文章:利用电脑上自带《画图》功能

下篇文章: 图片环绕效果及教材

 相关评论:

没有相关评论

 发表评论:

身份选择:会员 游客(游客不需要输入密码)
用 户 名: 密 码:
评论内容:
(最多评论字数:500)

艺苑真情(二站) | 设为首页 | 加入收藏 | 联系我们 | 进入管理 | 关于站长 | 本站搜索

联系电话:QQ 464375841 307011125 联系人:秋盼 辛缘

琼icp备09005167