图片向上滚动

 

<div id=icefable1>

        <table width="100" border="0" cellpadding="0" cellspacing="0">

          <tr>

            <td width="100" height="100"><A href="http://连接地址" target="_blank"><IMG height="100" src="PhotoTmp/phto/Enterprise_Logo331c49e7-1b16-435c-95bf-24f71c897fc7.jpg" border="0" wide="100" /></A></td>

          </tr>

          <tr>

            <td height="100"><A href="http://连接地址" target="_blank"><IMG height="100" src="PhotoTmp/phto/Enterprise_Logoda48ed60-e073-44a3-9592-ef46bfc12d76.jpg" border="0" wide="100" /></A></td>

          </tr>

          <tr>

            <td height="100"><A href="http://连接地址" target="_blank"><IMG height="100" src="PhotoTmp/phto/User_Photo7e6ff4c5-bd46-466d-acb2-48b8f79904fd.jpg"      border="0" wide="100" /></A></td>

          </tr>

          <tr>

            <td height="100"><A href="http://连接地址" target="_blank"><IMG height="100" src="E:"JobHoHo"WebPage"PhotoTmp"phto"User_Photo9696f0b4-cc8d-466a-9c13-283b86e14598.jpg" border="0" wide="100" /></td>

          </tr>

        </table>

        <script>

marqueesHeight=300;

topHeight=100;

stopscroll=false;

with(icefable1){

      style.width=0;

      style.height=marqueesHeight;

      style.overflowX="visible";

      style.overflowY="hidden";

      noWrap=true;

      onmouseover=new Function("stopscroll=true");

      onmouseout=new Function("stopscroll=false");

 }

 preTop=0; currentTop=topHeight; stoptime=0;

 icefable1.innerHTML+=icefable1.innerHTML;

function init_srolltext(){

 icefable1.scrollTop=0;

 setInterval("scrollUp()",1);

}init_srolltext();

function scrollUp(){

 if(stopscroll==true) return;

 currentTop+=1;

 if(currentTop==topHeight+1)

 {

      stoptime+=1;

      currentTop-=1;

      if(stoptime==100)

      {

          currentTop=0;

          stoptime=0;         

      }

 }

 else {     

      preTop=icefable1.scrollTop;

      icefable1.scrollTop+=1;

      if(preTop==icefable1.scrollTop){

        icefable1.scrollTop=topHeight;

        icefable1.scrollTop+=1;

      }

 }

}

init_srolltext();

    </script>

    </div>

posted on   秋天  阅读(373)  评论(0编辑  收藏  举报

编辑推荐:
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构

导航

< 2008年2月 >
27 28 29 30 31 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示