can someone post the javascript code for the status bar message that is on klitesite.com? it looks like ==> Kazaa Lite<==. i would like to have that kind of script on my page home.clanhoc.com
Printable View
can someone post the javascript code for the status bar message that is on klitesite.com? it looks like ==> Kazaa Lite<==. i would like to have that kind of script on my page home.clanhoc.com
Not exactly the same but a nice one:
Put that between the <body> tagsQuote:
<script language="JavaScript">
puchtit=")<==( home.clanhoc.com )==>(";
letrero1="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ";
letrero2="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ";ultimo1=letrero1.length-1;
ultimo2=letrero2.length-1;
tiempo=setTimeout("scroll()",50);
function scroll()
{
aux1=letrero1.charAt(ultimo1-1);
letrero1=aux1+letrero1.substring(0,ultimo1-1);
aux2=letrero2.charAt(0);
letrero2=letrero2.substring(1,ultimo2+1)+aux2;
window.status="(" + letrero2 + puchtit + letrero1 + ")";
tiempo=setTimeout("scroll()",50);
return true;
}
// -->
</script>
:)
Thx
do u mind if i use that aswell?Quote:
Originally posted by summerlinda@6 November 2003 - 00:59
Not exactly the same but a nice one:
Put that between the <body> tagsQuote:
<script language="JavaScript">
puchtit=")<==( home.clanhoc.com )==>(";
letrero1="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ";
letrero2="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ";ultimo1=letrero1.length-1;
ultimo2=letrero2.length-1;
tiempo=setTimeout("scroll()",50);
function scroll()
{
aux1=letrero1.charAt(ultimo1-1);
letrero1=aux1+letrero1.substring(0,ultimo1-1);
aux2=letrero2.charAt(0);
letrero2=letrero2.substring(1,ultimo2+1)+aux2;
window.status="(" + letrero2 + puchtit + letrero1 + ")";
tiempo=setTimeout("scroll()",50);
return true;
}
// -->
</script>
:)