This PHP Comments System is
- Clearly programmed, very easy to use in your application.
- designed specifically for the development to fit with your web site.
Required
demonstration
thanks you Freddy for hosting the demo
the link here
Features
- its very fast and very easy to use.
- it has standard validation.
- From now on,there is no spamming comments by robots because its not useing the <form></form> tags.
- its working without loading the page or redirect to other page.
- its has cool loading effect when tring to post your comment.
- much more...
how it work
It Using append() to add the new comment body to the comments element with jQuery.jQuery's function append() can be used to add text or html to an element. It's very easy to use and this post shows some example code and has a working example where you can type in some text that will be appended to a div.
This operation is the best way to insert elements inside, at the end, of all matched elements. It is similar to doing an appendChild to all the specified elements, adding them into the document.
NOTICE:
- if you want to insert the new comment in the lowest of comments (the bottom of comments) use the append() function (this is the default).
- if you want to display the inserted comment in the upper of comments use the prepend() function.
this mean if you want to do that go to the style/jooria-js.js on line 30 replace the
$("ul#list").append(html);
to
$("ul#list").prepend(html);
the script depend on this function
$(function() {
$(class or id).jooria_comment(url);
});
function Parameters
url
is the url which the date will send to it.
example:
$(function() {
$('.submit').jooria_comment('index.php?case=add');
});
what is '.submit'?
is the botton class
<button class="submit">Posting Quick Reply</button>
you can download the full code and the examples and test it in your local host and open the index.php to change the mysql login information
