Author Topic: Get the time-'till-next-match countdown back  (Read 5974 times)

Offline Ron

  • Legacy Fan
  • ******
  • Posts: 7,368
Get the time-'till-next-match countdown back
« on: December 26, 2001, 08:56:32 am »
Thought it was cool ...
8)
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline TheKid.

  • Goat abuser
  • Legacy Fan
  • ******
  • Posts: 17,094
  • Vamos
Re: Get the time-'till-next-match countdown back
« Reply #1 on: December 26, 2001, 08:45:12 pm »
Yeah bring it back coz im usually on here and have forgotten about the match until someone in chat reminds me  ::)
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline Ben S

  • Remember we were partners in crime. Pigeon Fancier. GTL Bus Freak. Also known as Bambi, apparently - or Miss Kitty on Wednesdays....
  • RAWK Staff.
  • Legacy Fan
  • ******
  • Posts: 32,316
  • Liverpool 5 - 1 London
Re: Get the time-'till-next-match countdown back
« Reply #2 on: December 26, 2001, 08:46:31 pm »
It was cheesey and the images were loaded from some other server which slowed the loading time of the page down. I'll keep me eyes open for a nice javascript count down thingy and stick it on if I can find one.
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline Ben S

  • Remember we were partners in crime. Pigeon Fancier. GTL Bus Freak. Also known as Bambi, apparently - or Miss Kitty on Wednesdays....
  • RAWK Staff.
  • Legacy Fan
  • ******
  • Posts: 32,316
  • Liverpool 5 - 1 London
Re: Get the time-'till-next-match countdown back
« Reply #3 on: December 27, 2001, 06:03:09 am »
Javascript ones look nice but mess up for some reason
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline Craig S

  • KOP CONDUCTOR
  • Legacy Fan
  • ******
  • Posts: 5,137
Re: Get the time-'till-next-match countdown back
« Reply #4 on: January 21, 2002, 06:30:05 am »
I was bored & just reading old threads.
I dont think I saw the countdown, but i just knocked this up in flash.  Its counting down to the manc match on Tues, so if you're looking at this after then the numbers will be negative.
It shouldnt be too hard to put the rest of the fixtures in for this season, so it automatically jumps to the next one.
Is this what it looked like?  obviously i can change fonts, colours & pics, but this was just a first go.
The file size is 27kb, dont know if thats too big.
But if you want to use it, i'm more than happy to finish it off.

<a href="http://craigsumner.topcities.com/countdown.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://craigsumner.topcities.com/countdown.swf</a>


Offline ecmdtan

  • Legacy Fan
  • ******
  • Posts: 1,504
  • Lurker
Re: Get the time-'till-next-match countdown back
« Reply #5 on: January 21, 2002, 06:33:56 am »
Yeah, ERP, do it.....doesn't need to be flashy.  The one on Craig's post will do nicely.
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »
On April 15th, 89.........What should have been a joyous time...........Ninety six friends, we all shall miss.........And all the Kopites want justice...................JUSTICE!!!

Offline Craig S

  • KOP CONDUCTOR
  • Legacy Fan
  • ******
  • Posts: 5,137
Re: Get the time-'till-next-match countdown back
« Reply #6 on: January 21, 2002, 06:34:16 am »
Just realised its an hour out, bollocks.
Oh well its a countdown to half time then.
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline Ben S

  • Remember we were partners in crime. Pigeon Fancier. GTL Bus Freak. Also known as Bambi, apparently - or Miss Kitty on Wednesdays....
  • RAWK Staff.
  • Legacy Fan
  • ******
  • Posts: 32,316
  • Liverpool 5 - 1 London
Re: Get the time-'till-next-match countdown back
« Reply #7 on: January 21, 2002, 06:34:52 am »
Look ok but... I dunno if it looked good, fitted in with the layout and I didnt have to update it it would be sound  ;D
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline Craig S

  • KOP CONDUCTOR
  • Legacy Fan
  • ******
  • Posts: 5,137
Re: Get the time-'till-next-match countdown back
« Reply #8 on: January 21, 2002, 06:41:39 am »
I'll put the next few fixtures in to test it.
If i just put league games in there would be no need for updates for any cup draws. And any re-arranged matches obviously wouldnt be in it.
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline ecmdtan

  • Legacy Fan
  • ******
  • Posts: 1,504
  • Lurker
Re: Get the time-'till-next-match countdown back
« Reply #9 on: January 21, 2002, 09:08:10 am »
Don't know if that is a good idea.  I mean, if it wasn't updated to accomodate cup-draws/European Cup Matches etc and re-arranged matches, then it would be giving misinformation.

If that was the case, then would rather not have it at all.
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »
On April 15th, 89.........What should have been a joyous time...........Ninety six friends, we all shall miss.........And all the Kopites want justice...................JUSTICE!!!

Offline Craig S

  • KOP CONDUCTOR
  • Legacy Fan
  • ******
  • Posts: 5,137
Re: Get the time-'till-next-match countdown back
« Reply #10 on: January 21, 2002, 07:49:11 pm »
Ok, I've done one that is pretty straightforward to update, and the file size is only 22kb. I can change it to any design or font too.
<a href="http://craigsumner.topcities.com/countdown1.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://craigsumner.topcities.com/countdown1.swf</a>
So far I've put in all the cup/league fixtures as they stand.
I'm presuming you've got Flash ERP?
If not send me an IM   ;).
The only time it needs updating is when theres a cup draw or a fixture is rearranged.
The only bit that needs changing is the code shown below, which is an array set up to hold fixtures. If a new fixture needs to be added just insert a new line like the ones shown, it doesnt matter what they're called, I only called them that for identification, in case the fixture changes. (eg, manca means man utd away).
The only condition is that the fixtures must be in chronological order.
Does that make sense?
If you dont want to update it, I could do it, then mail the new .swf file to you.

fixtures=new Array(
     default=new Date(2000,0,1,0),
     manua=new Date(2002,0,22,20,00,00),
     arsea=new Date(2002,0,27,13,00,00),
     leich=new Date(2002,0,30,20,00,00),
     leeda=new Date(2002,1,3,12,00,00),
     ipswa=new Date(2002,1,9,15,00,00),
     galah=new Date(2002,1,20,19,45,00),
     everh=new Date(2002,1,23,15,00,00),
     galaa=new Date(2002,1,26,19,45,00),
     fulha=new Date(2002,2,2,15,00,00),
     newch=new Date(2002,2,6,20),
     barca=new Date(2002,2,13,19,45),
     boroa=new Date(2002,2,16,12),
     romah=new Date(2002,2,19,19,45),
     chelh=new Date(2002,2,24,14),
     charh=new Date(2002,2,30,15),
     blach=new Date(2002,3,7,15),
     sunda=new Date(2002,3,13,15),
     derbh=new Date(2002,3,20,15),
     spura=new Date(2002,3,27,15),
     ipswh=new Date(2002,4,11,15)
)

Offline Ben S

  • Remember we were partners in crime. Pigeon Fancier. GTL Bus Freak. Also known as Bambi, apparently - or Miss Kitty on Wednesdays....
  • RAWK Staff.
  • Legacy Fan
  • ******
  • Posts: 32,316
  • Liverpool 5 - 1 London
Re: Get the time-'till-next-match countdown back
« Reply #11 on: January 21, 2002, 08:08:35 pm »
Yup I'v got flash... Looks ok, wanna email it to me?

Cheers
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline Craig S

  • KOP CONDUCTOR
  • Legacy Fan
  • ******
  • Posts: 5,137
Re: Get the time-'till-next-match countdown back
« Reply #12 on: January 21, 2002, 08:21:49 pm »
Have just mailed it.
Forgot to mention:
All the code is in the actions layer in the actions window in frame one.
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline Ben S

  • Remember we were partners in crime. Pigeon Fancier. GTL Bus Freak. Also known as Bambi, apparently - or Miss Kitty on Wednesdays....
  • RAWK Staff.
  • Legacy Fan
  • ******
  • Posts: 32,316
  • Liverpool 5 - 1 London
Re: Get the time-'till-next-match countdown back
« Reply #13 on: January 21, 2002, 08:48:13 pm »
Found it cheers :)

Ill have a play later when the cats stopped eating me

hmm that doesnt sound right ???

Pheeny

  • Guest
Re: Get the time-'till-next-match countdown back
« Reply #14 on: January 21, 2002, 11:26:18 pm »
Quote
Found it cheers :)

Ill have a play later when the cats stopped eating me

hmm that doesnt sound right ???
Is'nt it supposed to be the other way round ::)
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline ecmdtan

  • Legacy Fan
  • ******
  • Posts: 1,504
  • Lurker
Re: Get the time-'till-next-match countdown back
« Reply #15 on: January 22, 2002, 05:06:25 am »
hmmmm, very strange.... it's now 11.00 am on a Tuesday morning for me, and the match is suppose to be on 4.00am on a Wednesday morning (Malaysian time), but the counter says that it has 9 hours to go before the match when in actuality it's about 17 hours...something definately not right here.  Could you use GMT instead?  Maybe that would solve the problem.
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »
On April 15th, 89.........What should have been a joyous time...........Ninety six friends, we all shall miss.........And all the Kopites want justice...................JUSTICE!!!

Offline Craig S

  • KOP CONDUCTOR
  • Legacy Fan
  • ******
  • Posts: 5,137
Re: Get the time-'till-next-match countdown back
« Reply #16 on: January 22, 2002, 05:47:42 am »
Doh! :but:
How stupid of me, to not realise it might be a different time elsewhere.
It should be ok now, as long as the time on your computer is set to the correct local time. :)
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline ecmdtan

  • Legacy Fan
  • ******
  • Posts: 1,504
  • Lurker
Re: Get the time-'till-next-match countdown back
« Reply #17 on: January 22, 2002, 07:33:14 am »
Cheers!!  Works super now ;D
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »
On April 15th, 89.........What should have been a joyous time...........Ninety six friends, we all shall miss.........And all the Kopites want justice...................JUSTICE!!!

Offline TheKid.

  • Goat abuser
  • Legacy Fan
  • ******
  • Posts: 17,094
  • Vamos
Re: Get the time-'till-next-match countdown back
« Reply #18 on: January 23, 2002, 07:15:15 pm »
Does it say what match it is?
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »

Offline Craig S

  • KOP CONDUCTOR
  • Legacy Fan
  • ******
  • Posts: 5,137
Re: Get the time-'till-next-match countdown back
« Reply #19 on: January 23, 2002, 11:17:57 pm »
No, but this one does....
<a href="http://craigsumner.topcities.com/flash/countdownname.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://craigsumner.topcities.com/flash/countdownname.swf</a>

I never saw the initial countdown, so didnt know whether to put this on or not.
« Last Edit: January 1, 1970, 01:00:00 am by 1017961200 »