网页特效从下往上过渡

来源:互联网 发布:小米无人机4k 知乎 编辑:程序博客网 时间:2024/04/29 19:35

 <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>昵图网_共享图库_最新图片</title>
<link href="http://code.nipic.com/images/style.css" rel="stylesheet" type="text/css">
<style>
div{ FILTER:revealTrans(transition=4,duration=2); POSITION:absolute; left:0px; top:32px; width:100%; visibility: visible; }
</style>
</head>
<body onLoad="p()">

<div id="jx1" onMouseOver="s(1)" onMouseOut="s(0)" align="center">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/98/cf3479a6a8bda494.html" target="_blank"><img src="/picture/20090408/212828006395.jpg" alt="五一欢乐购" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="18" valign="bottom"><a href="http://www.nipic.com/show/3/98/cf3479a6a8bda494.html" title="五一欢乐购" target="_blank" class="hui">五一欢乐购</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/40/1c58fcf10a49d49d.html" target="_blank"><img src="/picture/20090408/212828063479.jpg" alt="棉花" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="18" valign="bottom"><a href="http://www.nipic.com/show/3/40/1c58fcf10a49d49d.html" title="棉花" target="_blank" class="hui">棉花</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/88/e9e69714783d445f.html" target="_blank"><img src="/picture/20090408/212828063294.jpg" alt="广告设计素材" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="18" valign="bottom"><a href="http://www.nipic.com/show/3/88/e9e69714783d445f.html" title="广告设计素材" target="_blank" class="hui">广告设计素材</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/112/9434ff4b864d3713.html" target="_blank"><img src="/picture/20090408/212828066054.jpg" alt="结婚请柬" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="18" valign="bottom"><a href="http://www.nipic.com/show/3/112/9434ff4b864d3713.html" title="结婚请柬" target="_blank" class="hui">结婚请柬</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/73/f870167cf91426a0.html" target="_blank"><img src="/picture/20090408/212828068789.jpg" alt="玫瑰和心" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="18" valign="bottom"><a href="http://www.nipic.com/show/3/73/f870167cf91426a0.html" title="玫瑰和心" target="_blank" class="hui">玫瑰和心</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/70/8aacabceabc07f87.html" target="_blank"><img src="/picture/20090408/212828007706.jpg" alt="写实荷花" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="18" valign="bottom"><a href="http://www.nipic.com/show/3/70/8aacabceabc07f87.html" title="写实荷花" target="_blank" class="hui">写实荷花</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/113/955117cb105c26cb.html" target="_blank"><img src="/picture/20090408/212828007375.jpg" alt="海报设计" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="18" valign="bottom"><a href="http://www.nipic.com/show/3/113/955117cb105c26cb.html" title="海报设计" target="_blank" class="hui">海报设计</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/73/5b791784b2b25734.html" target="_blank"><img src="/picture/20090408/212828071837.jpg" alt="水墨荷花" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="18" valign="bottom"><a href="http://www.nipic.com/show/3/73/5b791784b2b25734.html" title="水墨荷花" target="_blank" class="hui">水墨荷花</a></td>
</tr>
</table>
</td>
</table>
</div>
<div id="jx2" onMouseOver="s(1)" onMouseOut="s(0)" style="VISIBILITY:hidden" align="center">
<table width="90%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/113/b17d9d739cafd964.html" target="_blank"><img src="/picture/20090408/212828073061.jpg" alt="7周年庆 百货花纹" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/113/b17d9d739cafd964.html" title="7周年庆 百货花纹" target="_blank" class="hui">7周年庆 百..</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/69/81a4010d575b373f.html" target="_blank"><img src="/picture/20090408/212828073797.jpg" alt="海报背景设计 展板背景设计 名片" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/69/81a4010d575b373f.html" title="海报背景设计 展板背景设计 名片" target="_blank" class="hui">海报背景设计..</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/91/f299b5f1cea1e9e1.html" target="_blank"><img src="/picture/20090408/212828074790.jpg" alt="第五季" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/91/f299b5f1cea1e9e1.html" title="第五季" target="_blank" class="hui">第五季</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/91/8a8c4326ea922cd5.html" target="_blank"><img src="/picture/20090408/212828076436.jpg" alt="美容宣传单 2期" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/91/8a8c4326ea922cd5.html" title="美容宣传单 2期" target="_blank" class="hui">美容宣传单 ..</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/64/e4a6700dabec2b3c.html" target="_blank"><img src="/picture/20090408/212828077147.jpg" alt="蝶舞女人花" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/64/e4a6700dabec2b3c.html" title="蝶舞女人花" target="_blank" class="hui">蝶舞女人花</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/88/2be40a1505921971.html" target="_blank"><img src="/picture/20090408/212828077422.jpg" alt="移动畅听卡报广" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/88/2be40a1505921971.html" title="移动畅听卡报广" target="_blank" class="hui">移动畅听卡..</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/114/8e8242d6f10d787d.html" target="_blank"><img src="/picture/20090408/212828021451.jpg" alt="春天" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/114/8e8242d6f10d787d.html" title="春天" target="_blank" class="hui">春天</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/73/5e3526dd5e330bdb.html" target="_blank"><img src="/picture/20090408/212828023255.jpg" alt="树叶与灯泡矢量素材" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/73/5e3526dd5e330bdb.html" title="树叶与灯泡矢量素材" target="_blank" class="hui">树叶与灯泡..</a></td>
</tr>
</table>
</td>
</table>
</div>
<div id="jx3" onMouseOver="s(1)" onMouseOut="s(0)" style="VISIBILITY:hidden" align="center">
<table width="90%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/73/2ba1016b8fc57826.html" target="_blank"><img src="/picture/20090408/212828024453.jpg" alt="风景" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/73/2ba1016b8fc57826.html" title="风景" target="_blank" class="hui">风景</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/88/0db4950b22e57233.html" target="_blank"><img src="/picture/20090408/212828026748.jpg" alt="红酒之夏第二版" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/88/0db4950b22e57233.html" title="红酒之夏第二版" target="_blank" class="hui">红酒之夏第..</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/49/99b781df21039b3d.html" target="_blank"><img src="/picture/20090408/212828026246.jpg" alt="紫幕城市" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/49/99b781df21039b3d.html" title="紫幕城市" target="_blank" class="hui">紫幕城市</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/75/6adaa83ca11dab56.html" target="_blank"><img src="/picture/20090408/212828002994.jpg" alt="韩风草莓" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/75/6adaa83ca11dab56.html" title="韩风草莓" target="_blank" class="hui">韩风草莓</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/64/78d05fdbb2ea9990.html" target="_blank"><img src="/picture/20090408/212828023289.jpg" alt="时尚美女" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/64/78d05fdbb2ea9990.html" title="时尚美女" target="_blank" class="hui">时尚美女</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/98/7ca46107f4a5473c.html" target="_blank"><img src="/picture/20090408/212828023172.jpg" alt="五一节" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/98/7ca46107f4a5473c.html" title="五一节" target="_blank" class="hui">五一节</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/3/70/493dce0e47b3420a.html" target="_blank"><img src="/picture/20090408/212828026210.jpg" alt="精美花纹" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/3/70/493dce0e47b3420a.html" title="精美花纹" target="_blank" class="hui">精美花纹</a></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td><a href="http://www.nipic.com/show/4/117/13edbcd4f2ede327.html" target="_blank"><img src="/picture/20090408/212828027621.jpg" alt="放歌五一" width="80" height="60" border="0"></a></td>
</tr>
<tr align="center">
<td height="22" valign="top"><a href="http://www.nipic.com/show/4/117/13edbcd4f2ede327.html" title="放歌五一" target="_blank" class="hui">放歌五一</a></td>
</tr>
</table>
</td>
</table>
</div>
<script>
var jx1=document.getElementById("jx1");var jx2=document.getElementById("jx2");var jx3=document.getElementById("jx3");
//设置显示哪个层的变量
var sL=1;
//设置动与不动的变量
var iS=0;
//设定显示时间
function p()
{

 if(iS==0)
 {
  if(sL==1)
  {
   cs1(jx1,1);
   cs1(jx2,0);
   cs1(jx3,0);
   setTimeout('p()',6000);
  }
  else if(sL==2){
   cs1(jx1,0);
   cs1(jx2,1);
   cs1(jx3,0);
   setTimeout('p()',6000);
  }
  else{
   
   cs1(jx1,0);
   cs1(jx2,0);
   cs1(jx3,1);
   setTimeout('p()',6000);   
  }  
  sL++;
  if(sL==4) sL=1;
 }
 else
  {
         setTimeout('p()',2000);
    }

}
//显示函数
function cs1(a,b)
{if(a==null)return;
 a.filters.revealTrans.apply();
 if(b==1) a.style.visibility="visible";
 else a.style.visibility="hidden";
 a.filters.revealTrans.play();}
//设定is变量
function s(v)
{iS=v;}
</script>
</body>
</html>