大大你是一下下面這段語法ㄅ
不知道是不是你要的 <記得要改圖片的連結喔>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>高速 中速 低速</title>
</head>
<body onload=mov(); bgproperties="fixed" background="
">
<SCRIPT language=JavaScript>
<!--
w = 2 ; // ?
t = 10 ; // ?
dirc = 0
/* ? */
function mov(){
if(dirc==0){
if (( pic1.style.posLeft -= w) < -pic1.width )
{ pic1.style.posLeft += pic1.width + pic2.width } ;
if (( pic2.style.posLeft -= w) < -( pic2.width + pic1.width ))
{ pic2.style.posLeft = pic1.style.posLeft } ;
timerID = setTimeout( "mov()", t ) ;
} else
{
if ((pic1.style.posLeft += w) > pic2.width )
{ pic1.style.posLeft -= ( pic1.width + pic2.width) } ;
if ((pic2.style.posLeft += w) > 0)
{ pic2.style.posLeft -= (pic1.width + pic2.width) } ;
timerID = setTimeout( "mov()", t ) ;
}
}
function Spd0(){if(w == 0){w = wo} else {wo = w;w = 0 }}
function Spdf(){ w=4 };
function Spdn(){ w=2 };
function Spds(){ w=1 };
function Dirn(){if(dirc==0){dirc=1} else {dirc=0}}
// -->
</SCRIPT>
<!--nobanner--><NOBR><IMG id=pic1 style="POSITION: relative" src="
" width="2210" height="332"> <IMG id=pic2
style="POSITION: relative" src="
" width="2210" height="332"> </NOBR>
<CENTER><font color="#CC0099">高速<INPUT onclick=Spdf() type=radio value=4
name=R1> 中速<INPUT onclick=Spdn() type=radio CHECKED value=3
name=R1> 低速</font><FONT color=#ffffff><INPUT onclick=Spds() type=radio value=4 name=R1></FONT> <INPUT style="FONT-WEIGHT: bold; COLOR: blue; FONT-FAMILY: " onclick=Spd0() type=button value="停 止、重 開">
<INPUT style="FONT-WEIGHT: bold; COLOR: red; FONT-FAMILY: " onclick=Dirn() type=button value="逆 回 轉">
<h2 align="center"> </h2>
<h2 align="center">
<span id="theText" style="width:100%">
<a href="
http://home.kimo.com.tw...7/my.html">
<font color="#9900CC" face="標楷體" size="6">~點我~</font></a></span></h2>
<script>
<!--
var from = 5;
var to = 50;
var delay = 5;
var glowColor = "#EAC6FF";
var i = to;
var j = 0;
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</script>
</html>