ChicagoLand Fishing Forums banner

1 - 4 of 4 Posts

·
Registered
Joined
·
102 Posts
Discussion Starter #1
dose anyone know how to make the words move like on a ticker if so help would be appricated thanks ahead of time
 
G

·
<!-- TWO STEPS TO INSTALL CLASSIC SCROLL:

1. Paste the coding into the HEAD of your HTML document
2. Copy the onLoad event handler into the BODY tag -->



<HEAD>

<SCRIPT LANGUAGE="JavaScript">


http://javascript.internet.com -->

<!-- Begin
function scrollit(seed) {
var m1 = "Welcome to The JavaScript Source! ";
var m2 = "..... You can find all the scripts you need here! ";
var m3 = "......Enjoy ";
var m4 = "";
var msg=m1+m2+m3+m4;
var out = " ";
var c = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
}
}
}
// End -->
</SCRIPT>



<BODY onLoad="scrollit(100)">



<center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided

by The JavaScript Source</font>
</center>
 

·
Registered
Joined
·
3 Posts
<center>
<font face="arial, helvetica" size="-2">This isn't working out as I'd hoped but maybe you get an idea from this?

by The JavaScript Source</font>
</center>



<marquee align="middle" bgcolor="#FFFFFF" style="font-size: 12pt; color: #FF0000;font-weight: bold; font-family: Ariel" width="250" height="18">This is how it is suppose to work!</marquee>
Code:
'***********

<marquee align="middle" bgcolor="#FFFFFF" style="font-size: 12pt;
 color: #FF0000; font-weight: bold; font-family: Ariel" 
width="250" height="18">
This is how it is suppose to work!</marquee>
'***********
<SCRIPT LANGUAGE="JavaScript">




<!-- Begin
function scrollit(seed) {
var m1  = "Welcome to The JavaScript Source!  ";
var m2  = "..... You can find all the scripts you need here! ";
var m3  = "......Enjoy ";
var m4  = "";
var msg=m1+m2+m3+m4;
var out = " ";
var c   = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
      }
   }
}
// End -->
</SCRIPT>

<center>
<font face="arial, helvetica" size="-2", scrollit(100)>Free JavaScripts provided

by The JavaScript Source</font>
</center>







<font size=-1>[ This Message was edited by: Charles on 2002-03-23 09:44 ]</font>

<font size=-1>[ This Message was edited by: Charles on 2002-03-23 09:46 ]</font>
 
1 - 4 of 4 Posts
Top