Main
Frontpage & news
Web
Tutorial
Java
Scripts
Windows98
Tip & tricks
Files
Tweaks
Windows
Discussion
BetaNews
forum
Links
Favorites
Search
Engines
Other
Contact
Webmaster
|
|
Scrolling banner
Copy/Paste this script to your webpage :
<!-- This is your typical scrolling banner -->
<script language="JavaScript">
// Modified by WT
var id,pause=0,position=0,revol=9;
function banner()
{
var i,k;
var msg=" Your Text Here ";
var speed=10;
document.thisform.thisbanner.value=msg.substring(position,position+50);
if(position++==msg.length)
{
if (revol-- < 2) return;
position=0;
}
id=setTimeout("banner()",1000/speed);
}
</script>
</head>
<body bgcolor="ffffff" onload="banner()">
<CENTER><form name="thisform">
<input type="text" name="thisbanner" size="40">
</FORM>
</CENTER> |
Example
|