使文字不断闪烁---〖学习 HTML+TIME 语言〗
<DIV style="position:relative; top:30px; left:0px; width:700px; height:190px;overflow: hidden; "><STYLE>.time {
BEHAVIOR: url(#default#time2)
filter: /*ALE*/ }
</STYLE>
<?import namespace = t urn = "urn:schemas-microsoft-com:time" implementation = "#default#time2" declareNamespace />
<font class=time id="a1" style="position:absolute; left:30; top:0;z-index:1;FONT-SIZE: 69pt; COLOR: #0000FF; font-family: 华文新魏;"begin="0">
好好学习
</font>
<t:transitionFilter id="m11a" targetElement="a1" type="fade" subtype="crossFade" mode="in" begin="a1.begin" dur="1" autoreverse="false" repeatcount="indefinite"></t:transitionFilter>
</DIV>
代码:<BE><BE>
<P><DIV style="position:relative; top:30px; left:0px; width:700px; height:190px;overflow: hidden; "><BR><STYLE>.time {<BR> BEHAVIOR: url(#default#time2)<BR>filter: /*ALE*/ }<BR></STYLE><BR><?import namespace = t urn = "urn:schemas-microsoft-com:time" implementation = "#default#time2" declareNamespace /></P><BR>
<P><font class=time id="a1" style="position:absolute; left:30; top:0;z-index:1;FONT-SIZE: 69pt; COLOR: #0000FF; font-family: 华文新魏;"begin="0"><BR>好好学习<BR></font><BR><BR><t:transitionFilter id="m11a" targetElement="a1" type="fade" subtype="crossFade" mode="in" begin="a1.begin" dur="1" autoreverse="false" repeatcount="indefinite"></t:transitionFilter></P>
<P></DIV></P><BR><BR>
<BR>
dur="1"<BR>
每次闪烁的时间:秒.
<BR><BR>
注意:同一页面红色代码值必须另外设定.
<BR><BR>
我们将id="a1"放在任何里,如图片,表格等都可闪烁
<BR><BR>
[ 本帖最后由 gaoss33 于 2008-2-15 14:08 编辑 ]
将闪烁放到底层,产生霓虹灯效果
<DIV style=\"LEFT: 0px; OVERFLOW: hidden; WIDTH: 700px; POSITION: relative; TOP: 30px; HEIGHT: 190px\"><FONT class=time id=a4 style=\"FONT-SIZE: 69pt; Z-INDEX: 1; FILTER: glow(color=#FF00FF strength=8); LEFT: 30px; COLOR: #333333; FONT-FAMILY: 华文新魏; POSITION: absolute; TOP: 0px\" begin = \"0\">好好学习 </FONT><FONT style=\"FONT-SIZE: 69pt; Z-INDEX: 1; LEFT: 30px; COLOR: #333333; FONT-FAMILY: 华文新魏; POSITION: absolute; TOP: 0px\" begin=\"0\">好好学习 </FONT><?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace /><t:transitionFilter id=m11a from = \"0\" targetElement = \"a4\" to = \"1\" type = \"fade\" subType = \"crossFade\" mode = \"in\" autoReverse = \"false\" begin = \"a1.begin\" dur = \"2\" repeatCount = \"indefinite\"></t:transitionFilter></DIV>代码: <BR><P><DIV style=\"position:relative; top:30px; left:0px; width:700px; height:190px;overflow: hidden; \"><BR><STYLE>.time {<BR>BEHAVIOR: url(#default#time2)<BR>filter: /*ALE*/ }<BR></STYLE><BR><?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace /></P><BR>
<P><font class=time id=\"a4\" style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 69pt; COLOR: #ffff00; font-family: 华文新魏;filter:glow(color=#FF00ff strength=8);\" begin=\"0\"><BR>好好学习<BR></font></P><BR>
<P><font style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 69pt; COLOR: #333333; font-family: 华文新魏;\" begin=\"0\"><BR>好好学习<BR></font></P><BR>
<P><t:transitionFilter id=\"m11a\" targetElement=\"a4\" type=\"fade\" subtype=\"crossFade\" mode=\"in\" begin=\"a1.begin\" dur=\"2\" autoreverse=\"false\" repeatcount=\"indefinite\"></t:transitionFilter></P>
<P></DIV></P><BR>
[ 本帖最后由 gaoss33 于 2008-2-15 16:39 编辑 ] <DIV style=\"position:relative; top:30px; left:0px; width:700px; height:190px;overflow: hidden; \">
<STYLE>.time {
BEHAVIOR: url(#default#time2)
filter: /*ALE*/ }
</STYLE>
<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />
<font class=time id=\"a5\" style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 69pt; COLOR: #ffff00; font-family: 华文新魏;filter:glow(color=#FF00ff strength=8);\" begin=\"0\">
好好学习
</font>
<font style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 69pt; COLOR: #ffff00; font-family: 华文新魏;\" begin=\"0\">
好好学习
</font>
<t:transitionFilter id=\"m11a\" targetElement=\"a5\" type=\"fade\" subtype=\"crossFade\" mode=\"in\" begin=\"a1.begin\" dur=\"2\" autoreverse=\"false\" repeatcount=\"indefinite\"></t:transitionFilter>
</DIV>
[ 本帖最后由 smallcat 于 2008-2-15 18:30 编辑 ] 老师偶的怎么不闪啊 原帖由 smallcat 于 2008-2-15 14:53 发表 static/image/common/back.gif
老师偶的怎么不闪啊
呵呵,很粗心啊,一楼有红色警告语.
,
[ 本帖最后由 gaoss33 于 2008-2-15 17:03 编辑 ]
回复 5# 的帖子
谢谢老师提醒 <DIV style=\"position:relative; top:30px; left:0px; width:700px; height:190px;overflow: hidden; \"><STYLE>.time {
BEHAVIOR: url(#default#time2)
filter: /*ALE*/ }
</STYLE>
<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />
<font class=time id=\"a\" style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 30pt; COLOR: #ffff00; font-family: 华文新魏;filter:glow(color=#FF00ff strength=8);\" begin=\"0\">
高老师的到来定会桃李满音画
</font>
<font style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 30pt; COLOR: #333333; font-family: 华文新魏;\" begin=\"0\">
高老师的到来定会桃李满音画
</font>
<t:transitionFilter id=\"m11a\" targetElement=\"a\" type=\"fade\" subtype=\"crossFade\" mode=\"in\" begin=\"a.begin\" dur=\"2\" autoreverse=\"false\" repeatcount=\"indefinite\"></t:transitionFilter>
</DIV>
[ 本帖最后由 笑寒 于 2008-2-17 17:40 编辑 ] <DIV style=\"LEFT: 0px; OVERFLOW: hidden; WIDTH: 700px; POSITION: relative; TOP: 30px; HEIGHT: 190px\"><FONT class=time id=a5 style=\"FONT-SIZE: 69pt; Z-INDEX: 1; FILTER: glow(color=#FF00ff strength=8); LEFT: 30px; COLOR: #ffff00; FONT-FAMILY: 华文新魏; POSITION: absolute; TOP: 0px\" begin = \"0\">好好学习天天向上! </FONT><FONT style=\"FONT-SIZE: 69pt; Z-INDEX: 1; LEFT: 30px; COLOR: #333333; FONT-FAMILY: 华文新魏; POSITION: absolute; TOP: 0px\" begin=\"0\">好好学习天天向上! </FONT><?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace /><t:transitionFilter id=m11a from = \"0\" targetElement = \"a5\" to = \"1\" type = \"fade\" subType = \"crossFade\" mode = \"in\" autoReverse = \"false\" begin = \"a1.begin\" dur = \"2\" repeatCount = \"indefinite\"></t:transitionFilter></DIV> 咋不闪呢?再来
<DIV style=\"position:relative; top:30px; left:0px; width:700px; height:190px;overflow: hidden; \">
<STYLE>.time {
BEHAVIOR: url(#default#time2)
filter: /*ALE*/ }
</STYLE>
<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />
<font class=time id=\"a9\" style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 69pt; COLOR: #ffff00; font-family: 华文新魏;filter:glow(color=#FF00ff strength=8);\" begin=\"0\">
天天向上
</font>
<font style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 69pt; COLOR: #333333; font-family: 华文新魏;\" begin=\"0\">
天天向上
</font>
<t:transitionFilter id=\"m11a\" targetElement=\"a9\" type=\"fade\" subtype=\"crossFade\" mode=\"in\" begin=\"a1.begin\" dur=\"2\" autoreverse=\"false\" repeatcount=\"indefinite\"></t:transitionFilter>
</DIV> <DIV style=\"position:relative; top:30px; left:0px; width:700px; height:190px;overflow: hidden; \">
<STYLE>.time {
BEHAVIOR: url(#default#time2)
filter: /*ALE*/ }
</STYLE>
<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />
<font class=time id=\"a1b\" style=\"position:absolute; left:30; top:0; z-index:1;FONT-SIZE: 69pt; COLOR: #9900CC; font-family: 华文行楷;\" begin=\"0\">
再来学习
</font>
<t:transitionFilter id=\"m11a\" targetElement=\"a1b\" type=\"fade\" subtype=\"crossFade\" mode=\"in\" begin=\"a1.begin\" dur=\"1\" autoreverse=\"false\" repeatcount=\"indefinite\"></t:transitionFilter>
</DIV>