Answer the question
In order to leave comments, you need to log in
Is there a js script that implements like/unlike buttons like VKontakte without ajax/sql?
I needed a 1-in-1 animation like Vkontakte like:
click -> +1 to the number in the span, the old number flies up, change the appearance of the button
second click -> style rollback, -1 from the value, and the old number flies down already
the most suitable, I found
uagrace.github.io/like-dislike
(second line, where reverseMode is true)
but the script uses ajax, and I just need a smooth animation with a switcher. Google shook for several hours, found nothing good. if someone came across something similar, please, give me links,
or maybe it's easier to write it on jquery with smooth animations. if so, how?
thanks in advance
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question