[¼Ò½º] ¾Ë¸² ¼Óº¸(2) ¼Ò½º
¾Ë¸² ¼Óº¸(2) ¼Ò½º..!! |
<script language="javascript"> <!-- var tickertapeform tt_speed=350 tt_len=35 tt_space=" " tt_tid = 0; tt_message="." tt_c= -tt_len; function move() { cend=Math.min(tt_c+tt_len,tt_message.length) if (tt_c <0) cstart=0; else cstart=tt_c; if (tt_c < 0) tt_f.scroll.value=tt_space.substring(0,-tt_c) + tt_message.substring(cstart,cend) else tt_f.scroll.value=tt_message.substring(cstart,cend) tt_c = tt_c +1; if (tt_c == tt_message.length ) tt_c = -tt_len; tt_tid=window.setTimeout("move()",tt_speed); }
function tt_start(x) { tt_f=x tt_tid=window.setTimeout("move()",tt_speed); } function tt_cleartid() { window.clearTimeout(tt_tid); }
function ticker(m,l,s) { tt_message=m tt_len=l tt_speed=s document.write('<FORM name=tickertapeform><input name=scroll size=') document.write(tt_len) document.write(' value=""></FORM>') tt_start(document.tickertapeform); } function ticker(m) { tt_message=m tt_len=35 tt_speed=250 document.write('<FORM name=tickertapeform><input name=scroll size=35></FORM>'); tt_start(document.tickertapeform); } // end--> </script> <SCRIPT LANGUAGE="Javascript">
ticker("WELCOME TO MY HOMEPAGE !!");
</SCRIPT>
|
|