惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
博客园 - 司徒正美
J
Java Code Geeks
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
D
Docker
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
腾讯CDC
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
I
InfoQ
雷峰网
雷峰网
The Cloudflare Blog
美团技术团队
Engineering at Meta
Engineering at Meta

博客园 - 赵晓雷

让VS2008对JQuery语法的智能感知更完美一点 JavaScript实现走马灯效果[无缝连接、循环滚动] 向右 - 赵晓雷 - 博客园 Windows忘记mysql密码的解决方案 JavaScript实现走马灯效果[无缝连接、循环滚动] 向下 - 赵晓雷 - 博客园 JavaScript实现走马灯效果[无缝连接、循环滚动] 向上 - 赵晓雷 - 博客园 jQuery实现在光标处插入文本 jquery 操作div - 赵晓雷 - 博客园 Jquery实现只能输入数字的文本框 - 赵晓雷 - 博客园 IIS6与Tomcat6的整合方法 asp.net控件开发基础(7) asp.net控件开发基础(6) asp.net控件开发基础(5) - 赵晓雷 - 博客园 asp.net控件开发基础(4) - 赵晓雷 - 博客园 asp.net控件开发基础(3) asp.net控件开发基础(2) asp.net控件开发基础(1) 详解ASP.NET配置文件Web.config [ASP.NET] Session 详解 Gridview自动编号 - 赵晓雷 - 博客园
JavaScript实现走马灯效果[无缝连接、循环滚动] 向左 - 赵晓...
赵晓雷 · 2009-08-25 · via 博客园 - 赵晓雷

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="zuo.aspx.cs" Inherits="zuo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
<div align="center" id="demo" style="overflow:hidden;height:33px;width:400px;border-width:1px 1px 1px 1px;border-style:dotted dotted dotted dotted;">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td id="demo1"><img src="images/logo_1.gif"><img src="images/logo/flashempire.gif"><img src="images/logo.gif"><img src="images/logo_1.gif"><img src="images/logo_1.gif"><img src="images/logo/flashempire.gif"><img src="images/logo.gif"><img src="images/logo_1.gif"><img src="images/logo/flashempire.gif"><img src="images/logo.gif"><img src="images/logo_1.gif"><img src="images/logo/flashempire.gif"><img src="images/logo.gif"><img src="images/logo/5dmedia.gif"><img src="images/logo/macromedia.gif"><img src="images/logo/sucaiw.gif"><img src="images/logo/blueieda.gif"><img src="images/logo/htmlcn.gif" border="0"></td>
      <td id="demo2"> </td>
    </tr>
  </table>
</div>

<script language="javascript" type="text/javascript">
<!--
    var demo = document.getElementById("demo");
    var demo1 = document.getElementById("demo1");
    var demo2 = document.getElementById("demo2");
    var speed = 10;    //数值越大滚动速度越慢
    demo2.innerHTML = demo1.innerHTML
    function Marquee() {
        if (demo2.offsetWidth - demo.scrollLeft <= 0)
            demo.scrollLeft -= demo1.offsetWidth
        else {
            demo.scrollLeft++
        }
    }
    var MyMar = setInterval(Marquee, speed);
    demo.onmouseover = function() { clearInterval(MyMar) }
    demo.onmouseout = function() { MyMar = setInterval(Marquee, speed) }
-->
</script>

</body>
</html>