So I have a website, I have a counter, not a hit counter though, this is a manual counter I have to edit in the html editor every time I need to raise the number. I need to know if its possible to get or create an html counter with little buttons you click to raise and lower the number.
like, I'm kind of visualizing it as just the number, and below it or beside it little arrows to raise and lower it, or anything similar to that, just as long as its manually raisable and lowerable without having to edit the html text.
How can I make or find a website counter that you click to raise or lower the number? Preferably html?
3 posts • Page 1 of 1
How can I make or find a website counter that you click to raise or lower the number? Preferably html?
You can't do it with HTML, nor with javascript: you need a server-side script (ie php) and some way of storing the value (flat-file of database).
- freddie
- Posts: 520
- Joined: Wed Aug 26, 2009 5:04 pm
How can I make or find a website counter that you click to raise or lower the number? Preferably html?
Is this just for a single user, or multi-user?
For e.g., for an initial value of 0, if one user increments the counter to 5, should all other users see it as 5, or 0?
if it's just for a single user, then you could use java-script to do the trick. Or, for the latter it's bit more complex...
For e.g., for an initial value of 0, if one user increments the counter to 5, should all other users see it as 5, or 0?
if it's just for a single user, then you could use java-script to do the trick. Or, for the latter it's bit more complex...
- tiago
- Posts: 488
- Joined: Wed Aug 26, 2009 5:04 pm
3 posts • Page 1 of 1
Return to Web Design and Layout
Who is online
Users browsing this forum: No registered users and 1 guest