⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 marquee08.html

📁 java脚本即用特效源码从入门到精通帮你渡过难关
💻 HTML
字号:
<html>
<head>
<title>状态栏跑马灯6</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<BODY onLoad="timerONE=window.setTimeout('slide(120,0)',20);">

<form>
  <div align="center"> <font size="5" color="#FF0000">状态栏跑马灯6</font> 
    <hr noshade width="70%">
  </div>
</form>
<p align="center">
  <script language="JavaScript">
function slide(jumpSpaces,position) {
  var msg = "参观上海科学技术出版社网站,了解最新的出版讯息!"
  var out = ""
  if (endScroll) {return false}
  for (var i=0; i<position; i++) 
    {out += msg.charAt(i)}
  for (i=1;i<jumpSpaces;i++) 
    {out += " "}
  out += msg.charAt(position)
  window.status = out
  if (jumpSpaces <= 1) {
    position++
    if (msg.charAt(position) == ' ') 
      {position++ }
    jumpSpaces = 100-position
  } else if (jumpSpaces >  3)
       {jumpSpaces *= .75}
  else
    {jumpSpaces--}
  if (position != msg.length) {
    var cmd = "slide(" + jumpSpaces + "," + position + ")";
    scrollID = window.setTimeout(cmd,5);
  } else {
    scrolling = false
    return false 
  }
  return true
}
function ccSetup() {
 if (scrolling) 
  if (!confirm('Re-initialize slide?'))
   return false 
   endScroll = true 
   scrolling = true 
   var killID = window.setTimeout('endScroll=false',6)
   scrollID = window.setTimeout('slide(100,0)',10)
   return true 
}
var scrollID = Object
var scrolling = false
var endScroll = false
</script>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -