Page 1 of 2

One for the admins...

Posted: Sun Nov 09, 2008 10:16 am
by teknoge3k
I think it would be neat to include a countdown script in the header.php file for the forums. Either that, or on the bfads.net homepage. It would help the real addicts like me. :D

Code: Select all

<script>
var before="Black Friday!"
var current="It's BLACK FRIDAY!!"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
function countdown(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
if (difference==0)
document.write(current)
else if (difference>0)
document.write("Only "+difference+" days until "+before)
}
countdown(2008,11,28)
</script>

Re: One for the admins...

Posted: Sun Nov 09, 2008 11:53 am
by zim05
teknoge3k wrote:I think it would be neat to include a countdown script in the header.php file for the forums. Either that, or on the bfads.net homepage. It would help the real addicts like me. :D

[/code]


I think last year they did but I'm not sure when it started...

Posted: Sun Nov 09, 2008 12:54 pm
by killasnake
ahhh!! coding i hate it! :lol:

Posted: Sun Nov 09, 2008 12:56 pm
by teknoge3k
killasnake wrote:ahhh!! coding i hate it! :lol:


lol I do too. But that's why I put it there, to save people the trouble from having to do it. Just c/p. :D

Re: One for the admins...

Posted: Sun Nov 09, 2008 1:36 pm
by MikesTooLz
teknoge3k wrote:I think it would be neat to include a countdown script in the header.php file for the forums. Either that, or on the bfads.net homepage. It would help the real addicts like me. :D


I guess I must be a real addict as well. I have a digital countdown setup in the front of my house for all my neightbors to see it.

Re: One for the admins...

Posted: Sun Nov 09, 2008 3:17 pm
by tobinsky
MikesTooLz wrote:
teknoge3k wrote:I think it would be neat to include a countdown script in the header.php file for the forums. Either that, or on the bfads.net homepage. It would help the real addicts like me. :D


I guess I must be a real addict as well. I have a digital countdown setup in the front of my house for all my neightbors to see it.
:lol:

I have one in my bedroom.

Posted: Sun Nov 09, 2008 4:15 pm
by Tony
o.o
What is html??
xD

Posted: Sun Nov 09, 2008 4:48 pm
by MikesTooLz
Tony wrote:o.o
What is html??
xD


He Took My Laptop?
Thats what the people that wait all night on black friday and dont get one say to the ticket scalpers.

Posted: Sun Nov 09, 2008 6:56 pm
by iKitsune
I've got a Daktronics LED sign I found in a dumpster in my window counting down time until Black Friday. 8)

Posted: Sun Nov 09, 2008 10:36 pm
by cmac1337
iKitsune wrote:I've got a Daktronics LED sign I found in a dumpster in my window counting down time until Black Friday. 8)


AND THAT BEAST WILL BE AT FULTONDALE FOR BF 2K8 BB STYLE!!

Posted: Sun Nov 09, 2008 11:38 pm
by DJKezo
coding...
system.out.println("d in my a");

Posted: Sun Nov 09, 2008 11:44 pm
by g-man430
DJKezo wrote:coding...
system.out.println("d in my a");


coding...
pain in my a**. :lol:

Posted: Mon Nov 10, 2008 12:10 am
by cmac1337
...SIGH....


and im a Computer Science major and i hate coding.


html is so easy...


C++ is a jerk.

Posted: Wed Nov 12, 2008 4:48 am
by barrett76
Yeah, I have no idea what would be said so it would be pointless to me. If you can figure out--more power to you!!

Posted: Wed Nov 12, 2008 5:00 am
by KristopherWindsor
I guess this would be the wrong place to ask for help. :P :P
http://freefile.kristopherw.us/uploads/ ... ebbles.pdf