...
链接文字在按钮上滚动
时间:2006-3-18 11:04:01 来源:本站收集整理 作者:佚名
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var message=" Merry christmas and happy new year ";//Put Your Message Here
function ButtonURL(){
window.location="www.mysucai.com"
}
function scroll()
{
message = message.substring(1,message.length) + message.substring(0,1);
document.bs.bs.value = message;
setTimeout("scroll()",140);
}
window.onload=scroll
document.write('<style type="text/css">')
document.write('.select{background: blue;border-color:"yellow";color:"white";font-family:Arial,Helvetica,Verdana;font-size:10pt;font-weight: bold;}')
document.write('</STYLE>')
document.write('<form name=bs><INPUT class="select" TYPE="button" NAME="bs" value="" onclick="ButtonURL()"></FORM>')
// End -->
</script>
...
