The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Number counter - key press goes up 1 number
TheMonDon
post Oct 29 2017, 05:45 PM
Post #1





Group: Members
Posts: 1
Joined: 29-October 17
Member No.: 26,519



Hello, I would like to make a "counter", with say a colored background and big, bold black numbers in the center of the page.
I'd like to be able to press a key, say "X" to go up a number, each press would go up another number.
So when I press X and it's on number 5, it goes to 6, and so on.

Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 30 2017, 04:39 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



Do you mean a key on the actual keyboard, not a button on the web page?

Do you want to do something else with the resulting number, e.g. save it?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 05:11 AM