Countdown - Techist - Tech Forum

Go Back   Techist - Tech Forum > Internet > Internet Software and Browsers
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 05-23-2006, 07:21 AM   #1 (permalink)
True Techie
 
Join Date: May 2006
Posts: 128
Send a message via ICQ to WHWebSolutions Send a message via AIM to WHWebSolutions Send a message via Yahoo to WHWebSolutions
Exclamation Countdown

Hello I was wondering if anybody out there knows any HTML code that when a person clicks on a button the counter next to it goes down 1 number. If you know what I am talking about and know the code please let me know.

William
__________________

__________________
WHWebSolutions is offline  
Old 05-23-2006, 08:07 AM   #2 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

http://www.jsr.communitech.net/stopwatch2.htm
__________________

office politics is offline  
Old 05-23-2006, 08:25 AM   #3 (permalink)
True Techie
 
Join Date: May 2006
Posts: 128
Send a message via ICQ to WHWebSolutions Send a message via AIM to WHWebSolutions Send a message via Yahoo to WHWebSolutions
Default

That is not what I am loong for. I am trying to setup a webpage that sells coupons. I need it where when a person clicks on the button to print it out the coupon count goes down by 1. Can you help me out with that?

William
__________________
WHWebSolutions is offline  
Old 05-25-2006, 10:13 PM   #4 (permalink)
Ultra Techie
 
Join Date: Apr 2005
Posts: 957
Send a message via AIM to M4A1
Default

This is easily programmable. Learn it.
__________________
M4A1 is offline  
Old 05-26-2006, 10:13 AM   #5 (permalink)
True Techie
 
Join Date: Jul 2005
Posts: 128
Default

Quote:
Originally posted by M4A1
This is easily programmable. Learn it.
How does that help, at all?

Well im not a web programmer, but from my basic knowledge I'm pretty sure that you can't make anything like that in html, but you can in java, they're called spinners, so if you search for something along the lines of javascript spinner on a search engine, you should be able to find something useful
Hope this helps
Death Row is offline  
Old 05-26-2006, 03:19 PM   #6 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

Code:
<script>
<!--
function down() {
if (document.counter.box.value != 0) {
//alert(document.counter.box.value);
document.counter.box.value = --document.counter.box.value;
  }
}
-->
</script>
<form name=counter>
<input name=box type=text size=2 value=10>
<input type=button onclick=down(); value="minus one">
</form>

save the attachment as html and open
Attached Files
File Type: txt new.html.txt (324 Bytes, 33 views)
office politics is offline  
Old 05-31-2006, 10:54 PM   #7 (permalink)
Newb Techie
 
Join Date: May 2006
Posts: 14
Default

If your not a programmer, you shouldn't be trying to program something that complicated...
__________________
teken894 is offline  
Old 06-07-2006, 02:42 PM   #8 (permalink)
True Techie
 
Join Date: May 2006
Posts: 128
Send a message via ICQ to WHWebSolutions Send a message via AIM to WHWebSolutions Send a message via Yahoo to WHWebSolutions
Default

Ok well I have not found any of these helpful. All you guys have given me scripts for countdowns like date count downs and time count downs. but like I said I need it where when a person clicks on the button to print it out, the coupon count goes down by 1. Doe ANY know this code or a place where I can download it from or something.
__________________

__________________
William Harding
William Harding Web Solutions
whwebsolutions@aol.com
Visit my site for web hosting and design <a href=\"http://www.web-solutions.co.nr\">http://www.web-solutions.co.nr </a></td>
WHWebSolutions is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 11:25 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.