PDA

View Full Version : Xanga help!



Maniac0908
12-28-2004, 06:49 PM
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!

darco9x2
12-30-2004, 11:37 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.

Maniac0908
12-31-2004, 06:43 AM
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.

darco9x2
01-01-2005, 12:00 AM
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?

andrewman327
08-01-2005, 09:14 PM
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

shachi
08-03-2005, 03:23 AM
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.
------------------------------------------------------------------------------------------------------------
;)

jscheuer1
08-03-2005, 03:42 AM
Change:

typew();at the end of the script to:

setInterval("typew()",wait);

andrewman327
08-03-2005, 03:15 PM
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.

jscheuer1
08-03-2005, 04:52 PM
Works here. I see in your code you now have:

(typew(),wait);That's not what I suggested, use:

setInterval("typew()",wait);I copied your page and it is working here. What kind of error were you getting?

Chrismhen
08-08-2005, 05:25 PM
Does anyone know where that script is?