Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Software Development
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry router security slow software sound toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
HTML Problems

Reply  
Thread Tools
VenomBite's Avatar
Computer Specs
Member with 40 posts.
 
Join Date: Apr 2008
Experience: Very Good But Not the Best
27-Nov-2008, 03:20 AM #1
HTML Problems
http://www.gta4.tv/forums/index.php?showtopic=785189

On this webpage I would like to extract the GTA 4 Countdown timer only, how would I go about doing this?

Thanks,

VenomBite
mt2002's Avatar
Computer Specs
Senior Member with 926 posts.
 
Join Date: Sep 2005
Location: 127.0.0.1
Experience: Advanced
27-Nov-2008, 11:20 AM #2
Clicky
This is the javascript they use for the countdown. Comes with an example of use too
VenomBite's Avatar
Computer Specs
Member with 40 posts.
 
Join Date: Apr 2008
Experience: Very Good But Not the Best
27-Nov-2008, 12:18 PM #3
Yeah, but I need that counter, the GTA one.
mt2002's Avatar
Computer Specs
Senior Member with 926 posts.
 
Join Date: Sep 2005
Location: 127.0.0.1
Experience: Advanced
27-Nov-2008, 01:40 PM #4
Quote:
Yeah, but I need that counter, the GTA one.
That is the counter used in the GTA website. It is used like this on that website:

Code:
<div align="center"><script language="JavaScript">
TargetDate = "12/2/2008 0:00 AM";
BackColor = "#171717";
ForeColor = "#ffffff";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "GTA4 PC: %%D%% Days, %%H%% Hours, %%M%% Mins, %%S%% Secs";
FinishMessage = "GTA4 PC Version!";
</script>
<script language="JavaScript" src="http://www.gta4.tv/clan/js/countdown.js"></script></div>
Pasting the above code in any web page will display the GTA counter correctly.
Mr Red's Avatar
Computer Specs
Member with 74 posts.
 
Join Date: Dec 2008
02-Dec-2008, 09:47 AM #5
to crib JavaScript I usually save the HTML page and look with a text editor - the htm file and any subsidiary files. Not all pages save fully and it obviously only works on clientside JavaScript. But there are many pages that yield code.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:01 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.