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

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

博客园 - 小K

jquery、js调用iframe父窗口与子窗口元素的方法整理 转载笔记:DropDownList无限级分类(灵活控制显示形式) [转]oracle数据库定时任务dbms_job的用法详解 转 无依赖Office资源的导入导出 IE带有的网页过渡特效,可以用于触摸屏程序 - 小K - 博客园 屏蔽IE的图片工具条,防止图片被轻易保存的一种方法 - 小K - 博客园 Asp.Net Winform 条形码系列之Code39 Code39 Of .Net BarCode Serial Blog 如何用SQL语句给表增加字段? 如何分区视图? 只需四天,从零开始选购笔记本电脑【转】【荐】 IP地址、手机归属和身份证查询接口 Ajax Loading图标收集 - 小K - 博客园 IE下的开发工具包 [发布]LinScroll (jquery插件) (用图片自定义滚动条) 于.net开发平台项目案例集锦 ASP通用分页类[强] SQL SERVER日志清除方法 远程连接SQL Server 2000 SQL Server 2000不能远程连接的问题 asp.net HttpHand和HttpModule的详细解释,包括Asp.Net对Http请求的处理流程。
[转载]5行代码实现无缝滚动 - 小K - 博客园
小K · 2008-06-17 · via 博客园 - 小K

汗,今天无意中看到的,5行代码实现了无缝滚动,想起现在普通用的2个div替换的方法,简直是。。

程序代码 程序代码

appendChild实现的无缝滚动
<style>
*{border:1px solid green}
a{display:block;font-size:15px};
</style>
<div id="d" style="width:300px;height:200px;">
  <a href="javascript:">1,你可曾有过无数的梦想,</a>
  <a href="javascript:">2,却在时光的流逝里幻灭 </a>
  <a href="javascript:">3,你可曾对未来期待憧憬,</a>
  <a href="javascript:">4,却在成长的岁月中迷失</a>
</div>
<script>

// by Go_Rush(阿舜) from http://ashun.cnblogs.com/

var t=setInterval(myfunc,1000)
function myfunc(){ d.appendChild(d.firstChild)}
d.onmouseover=function(){clearInterval(t)}
d.onmouseout=function(){t=setInterval(myfunc,1000)}
</script>