📄 04.html
字号:
<html>
<head>
<title>全屏滚动的链接</title>
<SCRIPT>
var i=0
var i_cell=0
i_bg=0
var linkslist
var bg = new Array('AACC00','77AA00', '557700', '335500', '003300', '000000', '#335500', '557700', '77AA00', 'AACC00', 'CCFF00') //背景颜色数组
function initObjects() {
if (document.all) {
linkslist = document.all.linkliste.style
linkslist.visibility='VISIBLE'
linkslist.posTop = i
linkslist.posLeft = 3
scrollIE()}
if (document.layers) {
linkslist = document.linkliste
linkslist.visibility='VISIBLE'
linkslist.top = i
linkslist.left = 3
scrollNN()}
}
function scrollNN() {
if (i_cell < 100) {
i_cell++
linkslist.top = i--
var timer = setTimeout('scrollNN()',50) //设置滚动速度
}
else {
clearTimeout('timer')
changebgNN()
}}
function scrollIE() {
if (i_cell < 100) {
i_cell++
linkslist.posTop = i--
var timer = setTimeout('scrollIE()',50)} //设置滚动速度
else {
clearTimeout('timer')
document.bgColor='CCFF00'
changebgIE()}
}
function changebgNN() {
if (i_bg <= bg.length) {
document.bgColor=bg[i_bg]
i_bg++
var bgagain = setTimeout('changebgNN()',50)} //设置背景颜色转变的间隔时间
else {
clearTimeout('bgagain')
document.bgColor='CCFF00'
i_bg=0
makepauseNN()}
}
function changebgIE() {
if (i_bg <= bg.length) {
document.bgColor=bg[i_bg]
i_bg++
var bgagain = setTimeout('changebgIE()',100)} //设置背景颜色转变的间隔时间
else {
clearTimeout('bgagain')
i_bg=0
makepauseIE()}
}
function makepauseNN() {
if (i < (-1*1700)) {
i=0}
i_cell=0
var scrollagain = setTimeout('scrollNN()',3000) //设置滚动间隔时间
}
function makepauseIE() {
if (i < (-1*1700)) {
i=0}
i_cell=0
var scrollagain = setTimeout('scrollIE()',3000) //设置滚动间隔时间
}
</SCRIPT>
<STYLE>
.alldiv {POSITION: absolute; VISIBILITY: hidden}
</STYLE>
</head>
<body bgcolor="#fef4d9" onload=initObjects()>
<CENTER>
<DIV class=alldiv id=linkliste>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=156>
<TBODY>
<TR>
<TD height=100></TD></TR>
<!--设置网站的链接地址以及相关信息-->
<TR vAlign=top>
<TD align=left height=100><FONT size=1><A
href="http://www.sina.com.cn"
target=_blank><FONT size=1><B><BIG>新浪站点的链接
</BIG></B></FONT></A><BR>一个综合性网站
<BR>Rating: <FONT color=#ff0000>**</FONT><FONT
color=#999999>***</FONT><BR><BR></FONT></TD></TR>
<TR vAlign=top>
<TD align=left height=100><FONT size=1><A
href="http://skandal.homepage.com/" target=_blank><FONT
size=1><B>Skandal's Digital art and graffiti
(DHTML)</B></FONT></A><BR>site with lots of images made with adobe
photoshop. Slow loading. Nice effects.<BR>Rating: <FONT
color=#ff0000>**</FONT><FONT color=#999999>***</FONT><BR><BR></FONT></TD></TR>
<TR vAlign=top>
<TD align=left height=100><FONT size=1><A
href="http://www2.mozcom.com/~halos/" target=_blank><FONT
size=1><B>Emmanuel Halos Web Studio</B></FONT></A><BR>First-rate
JavaScripts from the Philippines. You will be enthusiastic about the
elegance and power of the samples.<BR>Rating: <FONT
color=#ff0000>*****</FONT><FONT color=#999999></FONT><BR><BR></FONT></TD></TR>
<TR vAlign=top>
<TD align=left height=100><FONT size=1><A
href="http://www.geocities.com/~lef" target=_blank><FONT size=1><B>Scripts
by Lefteris Haritou</B></FONT></A><BR>Lefteris Haritou is a very creative
JavaScript writer. Why? Check it out! A perfect starting point for
beginners. <BR>Rating: <FONT color=#ff0000>****</FONT><FONT
color=#999999>*</FONT><BR><BR></FONT></TD></TR>
<TR vAlign=top>
<TD align=left height=100><FONT size=1><A
href="http://home.thezone.net/~rbennett/utility/javahead.htm"
target=_blank><FONT size=1><B>Racoon's JavaScript
Site</B></FONT></A><BR>Feel the spirit and the humour of a great
script-programmer. Lots of inspiration.<BR>Rating: <FONT
color=#999999>*</FONT><BR><BR></FONT></TD></TR>
<TR vAlign=top>
<TD align=left height=100><FONT size=1><A
href="http://www.dynamicdrive.com/" target=_blank><FONT size=1><B>Free,
original DHTML-scripts</B></FONT></A><BR>A premier place on the net to
obtain free, original DHTML scripts and components to enhance your web
site!<BR>Rating: <FONT color=#ff0000>***</FONT><FONT
color=#999999>**</FONT><BR><BR></FONT></TD></TR></TBODY></TABLE></CENTER></DIV>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -