日期:2014-05-17  浏览次数:20810 次

巧用CSS的RevealTrans滤镜 动画切换效果

?
?CSS的RevealTrans动态滤镜是一个神奇的滤镜,它能产生23种动态效果,更为奇妙的是它还能在23种动态效果中随机抽用其中的一种。用它来进行网页之间的动态切换,其它的非IE浏览器虽然不支持这个滤镜,但是支持透明滤镜的

?

以下实例 同时支持IE和FF


示例:

?
<html>
<head>
<title>政策法规</title>
<LINK href="style.css" type=text/css rel=stylesheet>
</head>
<body background=/Templets/images/zcwd_policy.gif onload="playAd()">
?<table width=453 border=0 cellspacing=3 cellpadding=0>
??<tr>
???<td id=divText style="filter:revealTrans(Transition=23,Duration=2)"></td>
??</tr>
?</table>
?
?
?<div id="content_0" style="display:none">
??<TABLE cellSpacing=0 cellPadding=0 width=560 align=center border=0 >
???<TBODY>
????<TR>
?????<TD width=31 height=29>
??????<IMG height=20 src="/Templets/images/zcwd_5.gif" width=21>
?????</TD>
?????<TD width=529>
??????问:如何现金提取市区城镇职工医疗保险医疗费综合减负金额?
?????</TD>
????</TR>
????<TR>
?????<TD background=/Templets/images/line_2.gif colSpan=2 height=1></TD>
????</TR>
????<tr><td height=10></td></tr>
????<TR>
?????<TD>
??????<IMG height=20 src="/Templets/images/zcwd_6.gif" width=21>
?????</TD>
?????
?????<TD class=news>
??????<DIV>&nbsp;&nbsp;&nbsp; (一)在保人员提取减负金额程序</DIV>
<DIV>&nbsp;&nbsp;&nbsp; 需要提取综合减负金额的参保人员,可到工商银行各营业网点(宁波大市范围内,下同)办理登记手续。办理登...&nbsp;&nbsp;<SPAN class=red><a href="/Html/pol_zcwd/2010-07/02/1014596539044261100702141059.html" target="_blank">&gt;&gt;详细内容</a></SPAN>
??????
?????</TD>
????</TR>
???</TBODY>
??</TABLE>
?</div>
?
?<div id="content_1" style="display:none">
??<TABLE cellSpacing=0 cellPadding=0 width=560 align=center border=0 >
???<TBODY>
????<TR>
?????<TD width=31 height=29>
??????<IMG height=20 src="/Templets/images/zcwd_5.gif" width=21>
?????</TD>
?????<TD width=529>
??????问:市区城镇职工医疗保险医疗费综合减负每年什么时候划入个人历年账户?
?????</TD>
????</TR>
????<TR>
?????<TD background=/Templets/images/line_2.gif colSpan=2 height=1></TD>
????</TR>
????<tr><td height=10></td></tr>
????<TR>
?????<TD>
??????<IMG height=20 src="/Templets/images/zcwd_6.gif" width=21>
?????</TD>
?????
?????<TD class=news>
??????<DIV>&nbsp;&nbsp;&nbsp; 市级医保经办机构于每年7月1日将综合减负金额划入综合减负人员的历年个人账户。2008医保年度未申报提取的综合减负金额于2010年7月1日统一划入参保人员的历年个人账户。</DIV>
<DIV...&nbsp;&nbsp;<SPAN class=red><a href="/Html/pol_zcwd/2010-07/02/101437729137574020710143710.html" target="_blank">&gt;&gt;详细内容</a></SPAN>
??????
?????</TD>
????</TR>
???</TBODY>
??</TABLE>
?</div>
?
?<div id="content_2" style="display:none">
??<TABLE cellSpacing=0 cellPadding=0 width=560 align=center border=0 >
???<TBODY>
????<TR>
?????<TD width=31 height=29>
??????<IMG height=20 src="/Templets/images/zcwd_5.gif" width=21>
?????</TD>
?????<TD width=529>
??????问:如何查询是否符合市区城镇职工医疗保险医疗费综合减负的条件?
?????</TD>
????</TR>
????<TR>
?????<TD background=/Templets/images/line_2.gif colSpan=2 height=1></TD>
????</TR>
????<tr><td height=10></td></tr>
????<TR>
?????<TD>
??????<IMG height=20 src="/Templets/images/zcwd_6.gif" width=21>
?????</TD>
?????
?????<TD class=news>
??????<DIV>&nbsp;&nbsp;&nbsp; 市劳动保障部