Closed (fixed)
Project:
Rate
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2011 at 13:15 UTC
Updated:
6 Jan 2014 at 15:00 UTC
Jump to comment: Most recent
Hi,
I have a button widget with a image only. The count is displayed at another div (a custom one).
I'd like to know how i can "hook" the action of the clicked rate widget to be able to update my custom display of results.
I noticed also that when a user clicks the button, it's still displaying as a button and i'd like to hide it or to show a disabled (non clickable) version.
How can i solve this?
Thanks in advance.
Carlos
Comments
Comment #1
carvalhar commentedI update the count by jquery at my theme javascript file.
But how can i avoid the rate image being clickclable after a user voted or if he can't vote anymore?
thanks
Comment #2
jonhattanExplained here: #1278814-1: How to update (reload) the rate widget using jquery when user clicks the rate-button?