JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser .
Well-Known Member
Full GL Member
well heres a js time script
CODE
Administrator
Staff member
Administrator
Well-Known Member
Full GL Member
its basic js >_> im just learning it and Im surpissed taylor hasnt posted it
Because I did so in php???
And heres a better version.
This will display a message depending what day it is.
CODE
//0=sunday 1=monday 2=tuesday 3- wed. 4= thr 5= fri. 6= sat. Enjoy
var d=new Date();
theDay=d.getDay();
switch (theDay)
{
case 1:
document.write("Have a very happy Monday!");
break;
case 2:
document.write("Have a great Tuesday!");
break;
case 3:
document.write("Have a whacky Wednesday");
break;
case 4:
document.write("Tomorrow is Friday! ");
break;
case 5:
document.write("Today is Friday, last day for school for the week!");
break;
case 6:
document.write("Yeah! The weekend, it is Saturday!");
break;
case 0:
document.write("stupid Sunday... school's tomorrow..");
break;
}
Well-Known Member
Full GL Member
gah...
its about having fun not out-doing other people
Administrator
Staff member
Administrator
QUOTE (A7X @ January 12, 2008 05:58 pm) gah...
its about having fun not out-doing other people
lol pawned
coding is no fun. lmfao its about out-doing people
Well-Known Member
Full GL Member
>_> for you
*coughishouldwarnyouforthatcough*
remember, the more warnings the cooler you are XD lmfao
Administrator
Staff member
Administrator
A7X you have been pawned
and the warning system is used for rule breaking not for personal use if you got pawned or something.
lmfao xD it was his idea.
Well-Known Member
Full GL Member
and taylor its only cool if I have a warn...
... *goes to get image*
*coughthanksruggycough*
the pic is not allowed here
thats only a couple