Click to See Complete Forum and Search --> : Click and add


Code One
11-14-2003, 03:18 AM
Hello,
I just want to make a simple rater script, and the way I think will be most simple, would be to have a script that counts and keeps track of each rate as is at the moment.

Ex:
You have a few buttons that say; great, good, bad, horrible.
Alright...so now all you need is a simple count script, which when the user clicks a button, the current value will be posted in a div box, which would be seperated by subject.
==========================
Ex:
._____________________
|Great|Good|Bad|Horrible|
._____________________
| &nbsp; 4 &nbsp; | &nbsp;2 &nbsp; | &nbsp; 6&nbsp; | &nbsp; 0 &nbsp; | <-- displays sum of count (0-infinite) Counts up
._____________________
._________________
| &nbsp; Rate this track &nbsp; |
._________________
|Bttn Bttn Bttn Bttn|
._________________<-- click here to add one vote (adds 1 vote each click, placement is according to button assingment.)


==========================
You see what I mean, real simple huh, well if you know how to make counter scripts...lol. If anyone has a better idea, then perhaps you would share it.

regards,

Code One

Khalid Ali
11-14-2003, 06:37 AM
look at
this resource (http://www.webapplikations.com/pages/html_js/document/ClickCounter.html) It might give you an idea

Code One
11-14-2003, 04:13 PM
Thanks alot for that script, I'll make sure to keep your credits in there, when I got to add it in my page. Thanks again buddy!

regards,

Code one

Code One
11-14-2003, 04:43 PM
How would you go about making this script only choosable once, by each individual. I suspect cookies would help. But I searched all over and couldnt find anything on it, can you help?

Code One