Confirmed error in Ajax Voting Script
CoursesWeb Announcements will be made here.
You can post topics about any issue related to this website and forum.
-
bluemoon
- Posts: 1
Confirmed error in Ajax Voting Script
Although it took me about eight hours to get it working, the
Ajax Voting Scipt is very useful, and the best freeware script of its kind that I've come across.
On the demonstration page on this site, the green vote appears correctly - on the left of the image - and the red vote appears on the right. However - in the downloaded version they are back to front - the red appears on the left, and the green appears on the right.
That's due to a coding error in voting.js ...
Line 42 should be:
Code: Select all
ivotings[elm_id].innerHTML = '<h4>'+ vote+ '</h4><div class="vot_pm v_plus"'+ clik_up+ '>'+ v_plus+ '</div><div class="v_minus"'+ clik_down+ '>'+ v_minus+ '</div>';
and Line 39 should be:
Code: Select all
ivotings[elm_id].innerHTML = '<div class="nvotes">Votes: <b>'+ nvotes+ '</b></div><h4>'+ vote+ '</h4><div class="v_plus"'+ clik_up+ '> </div><div class="v_minus"'+ clik_down+ '> </div>';
Cheers,
Larry
Admin
Thank you for your observation.
I corrected the error.
Similar Topics
-
Error when installing SSE0P Search Script
Announcements & Support
First post
Hello! Thanks for what looks to be ab AWESOME search script! I've run into a problem when installing the SSEP Search Script. I changed everything...
Last post
Hello,
Thanks for your appreciations, I checked that line of code and the script is ok.
The problem is that the server has a too old php version...
-
Ajax Rating Php Script web page doesn't load anymore
Announcements & Support
First post
Hello! I'd like to inform that your web page doesn't load and the scripts are not downloadable...
The web page of your site is:
I attached a...
Last post
I always keep AdBlock active due to laziness and I think it keeps the rest of the planet active too ... but happy to hear that you have solved!...
-
Link Script Users Register, Login with other script
Scripts from this website
First post
Hello I would like to know how I can link the user script with other script like that of the Script comments with pagination for the user space thank...
Last post
Hello ok thank you very much for your help
-
3D-printing "error" used to produce high-tech textiles
Remarkable News
If a 3D printer leaves gaps in the plastic that it deposits, it's usually thought of as an unwanted flaw. Now, the process has been harnessed to...
-
Ajax-PHP File Manager with CKEditor
Scripts from this website
First post
Loving your Ajax-PHP File Manager, great job! - coursesweb.net/php-mysql/ajax-php-file-manager_s2
Was thinking to using this in classroom project...
Last post
Yes, I understand it does not need ckeditor to run. I was asking for help in incorporating ckeditor into it for the kids.
Sorry to have bothered...