Feature Request: Add Class on click
-
Just thought of a feature that would work great for what I need (and probably others). What if you were to tweak the javascript so that it adds an additional class to the button after clicked?
For example: class=”thumbs-rating-up” before click & class=”thumbs-rating-up voted” after click.
I would use this to change the CSS color after click.. one color before they vote and another after they vote. It’ll make it easier for a user to know whether or not they’ve voted on a specific post already.. without having to click the button and get the “you already voted” message.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Feature Request: Add Class on click’ is closed to new replies.