I could do it myself, but I want to give you an opportunity to earn a lot of Frih$. It's a very simple task... a pastime, to say the truth.
Take a look at the below JavaScript code.
It returns the number of days between foo and moo. I want you to design a form where I can select my own dates in a drop down menu. I pick up the days, press "give me the time span" and it gives me it. Of course, the script must be polite and say "1 day ago", "5 days remaining" instead of printing only "1" or "-5". Do it and earn 100Frih$.
If you put the form in a valid (x)HTML page and format it with nice colours, big fonts and so using CSS, I'll triple your award (100*3 = you get 300Frih$). If you create a name for it that makes me happy, make a logo for it with this service and add it to the HTML page, add 50$ to your account (300+50=350Frih$).
Well, if you are really needy, you can do it in PHP and follow the design specifications of the last paragraph. Do it all (JS plus PHP versions) and I'll give you a total of $400Frih.
Rules: #1 Within 3 days, I'll close this thread. #2 Just post here your own script and form. I won't accept scripts made by third parties. #3 I'll be the only judge of the quality of your work. #4 If more than a person do it using different techniques, I'll choose the better one (this applies to the design too). #5 You must agree that it'll be public domain and everyone might copy, edit etc.
What are you waiting for? The time you spent reading this thread was more than enough to do what I want.
Last edited by escritor on Tue Apr 15, 2008 8:28 am; edited 1 time in total
Take a look at the below JavaScript code.
| Code: |
|
foo = new Date(2008, 04, 11); moo = new Date(2008, 04, 12); dif = foo.getTime() - moo.getTime(); days = 1000 * 60 * 60 * 24; daysDif = dif / days; alert(daysDif); |
It returns the number of days between foo and moo. I want you to design a form where I can select my own dates in a drop down menu. I pick up the days, press "give me the time span" and it gives me it. Of course, the script must be polite and say "1 day ago", "5 days remaining" instead of printing only "1" or "-5". Do it and earn 100Frih$.
If you put the form in a valid (x)HTML page and format it with nice colours, big fonts and so using CSS, I'll triple your award (100*3 = you get 300Frih$). If you create a name for it that makes me happy, make a logo for it with this service and add it to the HTML page, add 50$ to your account (300+50=350Frih$).
Well, if you are really needy, you can do it in PHP and follow the design specifications of the last paragraph. Do it all (JS plus PHP versions) and I'll give you a total of $400Frih.
Rules: #1 Within 3 days, I'll close this thread. #2 Just post here your own script and form. I won't accept scripts made by third parties. #3 I'll be the only judge of the quality of your work. #4 If more than a person do it using different techniques, I'll choose the better one (this applies to the design too). #5 You must agree that it'll be public domain and everyone might copy, edit etc.
What are you waiting for? The time you spent reading this thread was more than enough to do what I want.
Last edited by escritor on Tue Apr 15, 2008 8:28 am; edited 1 time in total


