Does anyone know how to put a scrolling text at the bottom of the page. You kno where it says openig page.... loading page....ect....
PLEASE HELP THANKS!
Does anyone know how to put a scrolling text at the bottom of the page. You kno where it says openig page.... loading page....ect....
PLEASE HELP THANKS!
Last edited by Maniac0908; 12-28-2004 at 07:36 PM.
like where is says done?
cant find link, but here is the script:
just replace the xxxxxxxx's with what you want to say.
and you can add more messages, just change the var msgs = number you have
<script language="JavaScript">
<!--
var wait = 100 //sleep time until next letter (milliseconds)
var message = new Array()
message[0] = "xxxxxxx "
message[1] = "xxxxxxx "
message[2] = "xxxxxxx "
message[3] = "xxxxxxx "
var msgs = 3 //Number of message (0 is first)
var temp = "" //Do not modify these... (recommended)
var curmsg = 0
var a = 0
var counter = 0
function typew()
{
a = a + 1
check()
window.status = message[curmsg].substring(0, a)
if(a == message[curmsg].length + 5)
{
curmsg = curmsg + 1
a = 0
}
if(curmsg > msgs)
{
curmsg = 0 }
counter = setTimeout("typew()", wait)
}
function check()
{
if(a <= message[curmsg].length)
{
if(message[curmsg].substring(a, a + 1) == "")
{
a = a + 1
check()
}
}
}
typew();
//-->
</SCRIPT>
edit: add this script to head... i got this from dd, its there somewhere.
Last edited by darco9x2; 12-30-2004 at 11:38 PM. Reason: need to add script to head
It still doesnt work. Does it need to be in a certain spot in the header? like the top or the bottom? check my site out www.xanga.com/maniac0908 c if it works for u. it might be my computer or something.
well for your style, i think you need
<!--
and --> or just use a style sheet
and i dont even see the script in the scource, so did you even add it and then save?
I hate to revive a dead thread, but this is not working for me. If someone could be so kind to pay me a visit at: http://www.xanga.com/home.aspx?user=andrewman327 and look at my source, I'd be much obliged.
Thanks
Maniac0908 you can still use marquee for that.
------------------------------------------------------------------------------------------------------------
<html>
<body>
<marquee><a href="xxxxxxx.htm/html">Your text</a> <a href="xxxxxxx.htm/html">Your text</a></marquee>
</body>
</html>
------------------------------------------------------------------------------------------------------------
Replace the xxxxx with your file names and your text with your text.
------------------------------------------------------------------------------------------------------------
![]()
Change:
at the end of the script to:Code:typew();
Code:setInterval("typew()",wait);
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Hmmm, still not working. When I do that, it shows an error, and the status bar doesn't change at all. I tried with and without quotes, and it's the same.
Works here. I see in your code you now have:
That's not what I suggested, use:Code:(typew(),wait);
I copied your page and it is working here. What kind of error were you getting?Code:setInterval("typew()",wait);
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Does anyone know where that script is?
Bookmarks