2 Javascript Codes on same post
3 posters
Page 1 of 1
2 Javascript Codes on same post
Hi guys I just filled in all the required javascript for a "like post" option, checked the 'post only' box and went to a post to see if it worked, it did. I went back, made a new javascript code for dislikes, checked the required boxes, and went to a post to see if it worked, it did, but it replaced my 'like' option? How can I have a like and dislike option both at the same time.
Zork22- New Member
- Posts : 13
Reputation : 1
Language : English
Re: 2 Javascript Codes on same post
blackgaardscastle.forumotion.com
I used the codes
and
I used the codes
- Code:
var like_version = 'phpbb3';
var DOM_IS_READY = false;
$(function(){DOM_IS_READY=true;});
var vote_singular = 'Like';
var vote_plural = 'Likes';
$.getScript('http://www.avacweb.net/like');
and
- Code:
var dislike_version = 'phpbb3';
var DOM_IS_READY = false;
$(function(){DOM_IS_READY=true;});
var vote_singular = 'Dislike';
var vote_plural = 'Dislikes';
$.getScript('http://www.avacweb.net/dislike');
Last edited by Sir Chivas™ on 30.03.13 3:39; edited 1 time in total (Reason for editing : Added code tags)
Zork22- New Member
- Posts : 13
Reputation : 1
Language : English
Re: 2 Javascript Codes on same post
The like should work, but I don't know if the dislike would work because his codes run on a server, I believe. I don't think that will work. Have you tried getting help from avacweb?
Re: 2 Javascript Codes on same post
Agree with Chivas.
The dislike will most likely not work, because the dislike server of AW: http://www.avacweb.net/dislike is not working. The code written in the dislike show that it gets the script from its server, but as you can see, it's not available. So, it will not work.
The dislike will most likely not work, because the dislike server of AW: http://www.avacweb.net/dislike is not working. The code written in the dislike show that it gets the script from its server, but as you can see, it's not available. So, it will not work.
Re: 2 Javascript Codes on same post
Oh, ok, thanks
Zork22- New Member
- Posts : 13
Reputation : 1
Language : English
Similar topics
» javascript codes
» Javascript codes issue
» Javascript Codes don't work
» Some JavaScript codes are not working
» Is there a way to back up your Javascript codes?
» Javascript codes issue
» Javascript Codes don't work
» Some JavaScript codes are not working
» Is there a way to back up your Javascript codes?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum