The W
Views: 97589496
Main | FAQ | Search: Y! / G | Calendar | Color chart | Log in for more!
23.7.14 0018
The W - the-w.com Site Feedback - WrestleMania countdown
This thread has 79 referrals leading to it
Register and log in to post!
Thread rated: 5.01
Pages: 1
(582 newer) Next thread | Previous thread
User
Post (7 total)
Oliver
Scrapple








Since: 20.6.02
From: #YEG

Since last post: 15 hours
Last activity: 15 hours
AIM:  
ICQ:  
Y!:
#1 Posted on | Instant Rating: 2.72
I'm liking the Wrestlemania countdown at the top of the screen. Is that done in PHP or Javascript? How easy would it be to create one for a website, but with a different date?



I've seen the following movies so far this year:
Coach Carter
Check out my website
Promote this thread!
CRZ
Big Brother
Administrator








Since: 9.12.01
From: ミネアポリス

Since last post: 3 days
Last activity: 1 hour
AIM:  
ICQ:  
Y!:
#2 Posted on | Instant Rating: 8.44
    Originally posted by SOK
    I'm liking the Wrestlemania countdown at the top of the screen. Is that done in PHP or Javascript?
"View Source"

(php)

This is the third time we've done it (because it's the third WrestleMania since we opened this board, probably).

    How easy would it be to create one for a website, but with a different date?
Use this code, but with a different date:

$secs=1112572800-ctime();
$wtag="WrestleMania 21 begins in ".number_format($secs)." seconds";

So...pretty easy (assuming you have php)?



When it seems like the whole world is full of idiots,
maybe your standards are a bit high.
- Guru Zim
CRZ
Oliver
Scrapple








Since: 20.6.02
From: #YEG

Since last post: 15 hours
Last activity: 15 hours
AIM:  
ICQ:  
Y!:
#3 Posted on | Instant Rating: 2.72
    Originally posted by CRZ
      Originally posted by SOK
      I'm liking the Wrestlemania countdown at the top of the screen. Is that done in PHP or Javascript?
    "View Source"

    (php)

    This is the third time we've done it (because it's the third WrestleMania since we opened this board, probably).

      How easy would it be to create one for a website, but with a different date?
    Use this code, but with a different date:

    $secs=1112572800-ctime();
    $wtag="WrestleMania 21 begins in ".number_format($secs)." seconds";

    So...pretty easy (assuming you have php)?
Two things: I'm not sure if my site HAS php - I'm assuming not, since it's on a free server.

Also, I didn't want to steal the code (by using the VIEW SOURCE function) without your permission. That's just wrong.

Thanks!



I've seen the following movies so far this year:
Coach Carter
Check out my website
EddieBurkett
Boudin blanc








Since: 3.1.02
From: GA in person, NJ in heart

Since last post: 11 days
Last activity: 2 hours
#4 Posted on | Instant Rating: 4.20
    Originally posted by SOK
    Also, I didn't want to steal the code (by using the VIEW SOURCE function) without your permission. That's just wrong.


The neat thing about php is that you couldn't have done that even if you tried. The math is all done on the server before your browser even begins to render the page, so all you would see if you did view source would see would be the end result of the math, not the formula itself.



"Now that you've built up the courage to get into the gym, let me give you five reasons why you should put in the time to train with consistency: 1. Increased strength 2. Improved self-confidence 3. Injury prevention 4. Self-discipline 5. Sex (Trust me, you'll have a better shot with the ladies if you're in shape.)" -- Making the Game, pp. 14 - 15
Mr. Boffo
Scrapple








Since: 24.3.02
From: Oshkosh, WI

Since last post: 359 days
Last activity: 320 days
#5 Posted on | Instant Rating: 2.56
I believe you can easily do something like that in Javascript though. I haven't actually tried it out, but perhaps http://javascriptkit.com/javatutors/datedifference.shtml would help you out.



NOTE: The above post makes no sense. We apologize for the inconvenience.
ekedolphin
Scrapple








Since: 12.1.02
From: Indianapolis, IN; now residing in Suffolk, VA

Since last post: 34 days
Last activity: 34 days
#6 Posted on | Instant Rating: 4.52
Is the logo change every day done automatically, or manually? Not that I've any interest in using a countdown myself, I'm simply curious.



You want to watch the karo-net match, she wants to listen to music, so you compromise. You listen to music. You like Earth jazz, she likes Klingon opera, so you compromise-- you listen to Klingon opera.
--Odo, Star Trek: Deep Space Nine

Four-Time Wiener of the Day (5/27/02; 7/3/02; 7/30/04; 8/28/04)

Certified RFMC Member-- Ask To See My Credentials!

CRZ
Big Brother
Administrator








Since: 9.12.01
From: ミネアポリス

Since last post: 3 days
Last activity: 1 hour
AIM:  
ICQ:  
Y!:
#7 Posted on | Instant Rating: 8.44
    Originally posted by ekedolphin
    Is the logo change every day done automatically, or manually? Not that I've any interest in using a countdown myself, I'm simply curious.
It's been automatic, every day at midnight (CST) since January.



When it seems like the whole world is full of idiots,
maybe your standards are a bit high.
- Guru Zim
CRZ
Thread rated: 5.01
Pages: 1
Thread ahead: Tables
Next thread: Time zone stuff
Previous thread: No fun admin
(582 newer) Next thread | Previous thread
Read the column right above that and it's explained. .
- thecubsfan, The Torch? (2002)
The W - the-w.com Site Feedback - WrestleMania countdownRegister and log in to post!

The W™ message board

ZimBoard
©2001-2014 Brothers Zim

This old hunk of junk rendered your page in 0.077 seconds.