PDA

View Full Version : ?about The Site?



matti_non_swede
11-05-2003, 10:55 PM
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 (http://home.clanhoc.com)

summerlinda
11-06-2003, 12:59 AM
Not exactly the same but a nice one:


&#60;script language="JavaScript">
puchtit=")<==( home.clanhoc.com&nbsp; )==>(";
letrero1="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ";
letrero2="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ";ultimo1=letrero1.length-1;
ultimo2=letrero2.length-1;
tiempo=setTimeout("scroll()",50);
function scroll()
{
&nbsp; &nbsp; &nbsp; &nbsp; aux1=letrero1.charAt(ultimo1-1);
&nbsp; &nbsp; &nbsp; &nbsp; letrero1=aux1+letrero1.substring(0,ultimo1-1);
&nbsp; &nbsp; &nbsp; &nbsp; aux2=letrero2.charAt(0);
&nbsp; &nbsp; &nbsp; &nbsp; letrero2=letrero2.substring(1,ultimo2+1)+aux2;
&nbsp; &nbsp; &nbsp; &nbsp; window.status="(" + letrero2 + puchtit + letrero1 + ")";
&nbsp; &nbsp; &nbsp; &nbsp; tiempo=setTimeout("scroll()",50);
&nbsp; &nbsp; &nbsp; &nbsp; return true;
}
// --&#62;
</script>

Put that between the <body> tags

:)

matti_non_swede
11-06-2003, 09:36 PM
Thx

djweiser
11-06-2003, 10:53 PM
Originally posted by summerlinda@6 November 2003 - 00:59
Not exactly the same but a nice one:


&#60;script language="JavaScript">
puchtit=")<==( home.clanhoc.com )==>(";
letrero1="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- &nbsp; ";
letrero2="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- &nbsp; ";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;
}
// --&#62;
</script>

Put that between the <body> tags

:)
do u mind if i use that aswell?