Very cool script...not only can it be used as a ticker tape, but it is also "clickable". Clicking this button will direct you to Bravenet, Free Web Services: Bravenet offers the greatest webmaster tools you will find...all FREE! Author: Colby Dillion Download the Script |
Код скрипта
<html>
<head><script language="JavaScript">
<!-- This is the Button with the typewritter text
// 1998 Colby Dillion
// dd5458@arkansas.net
// You may freely use this script as long as you leave the information above intact
var max=0;
function textlist()
{
max=textlist.arguments.length;
for (i=0; i<max; i++)
this[i]=textlist.arguments[i];
}
tl=new textlist
(
// Change these with your own text, you can add as many as you want
"Click Here",
"Here Mousey!",
"Want Some Cheese!"
);
var x=0; pos=0;
var l=tl[0].length;
function typebutt()
{
document.form1.typebutt.value=tl[x].substring(0,pos)+"";
if(pos++==l)
{
pos=0;
setTimeout("typebutt()",1500);
x++;
if(x==max)
x=0;
l=tl[x].length;
} else
setTimeout("typebutt()",50);
}
// end -->
</script>
<title>JavaFILE</title>
<base target="leftframe">
</head>
<body BGCOLOR="#ffffff" link="#CC0033" vlink="#333399" alink="#FF0000" onLoad="typebutt()">
<!--content start-->
<p align="center"><img src="http://www.javafile.com/images/banner.GIF"
alt="banner.GIF (2826 bytes)"></p>
<table WIDTH="96%" BORDER="0" CELLSPACING="5" CELLPADDING="5">
<tr>
<td WIDTH="100%"><font FACE="ARIEL,HELVETICA" SIZE="-1"><p align="left"></font><font
size="3">Very cool script...not only can it be used as a ticker tape, but it is also
"clickable". Clicking this button will direct you to <a
href="http://www.bravenet.com">Bravenet, Free Web Services</a>: Bravenet offers the
greatest webmaster tools you will find...all FREE!</font><font FACE="ARIEL,HELVETICA"
SIZE="-1"></p>
<p align="center"></font><font size="3">Author: Colby Dillion <a
href="http://www.javafile.com/javascripts/imagefx/buttcool.zip">Download the Script</a></font><font
FACE="ARIEL,HELVETICA" SIZE="-1"></p>
<form name="form1" action="http://www.bravenet.com">
<div align="center"><center><p><input type="submit" name="typebutt" VALUE="Submit"> <br>
</font></p>
</center></div>
</form>
</td>
</tr>
</table>
<!--content stop-->
</body>
</html>