http://oxtag.com/html/ex/input_scroll.html


소스 설명은 안해도 되겠죠.
예제의 인풋버튼을 클릭하면 지정한 url로 이동합니다.

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var message="♡ 소스천국 ♡ 태그피아 ♡";
function ButtonURL(){
window.location="http://oxtag.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:"skyblue";color:"white";font-family:Arial,Helvetica,Verdana;font-size:8pt;font-weight: bold;width:400;height:25;}')
document.write('</STYLE>')
document.write('<form name=bs><INPUT class="select" TYPE="button" NAME="bs" value="" onclick="ButtonURL()"></FORM>')
//  End -->
</script>

Posted by 알 수 없는 사용자
,