First, put the comments-ajax.js and comments-ajax.php in the folder of the topic you are using;Comments-ajax.js The code is as follows:Copy code Var I = 0, got =-1, len = document. getElementsByTagName ('script'). length;While (I Var js_url =
This article mainly introduces the comment symbols in the HTML, the notation symbol and the annotation symbol instance parsing, next let's look at this article together
The first thing we need to know is what is the comment symbol in HTML?
The
Java provides three types of comments:
Single-line (c ++-style) CommentsThe simplest comment in Java is the single line comment. It starts with two forward slashes and continues to the end of the line. For example:Figure 1: single-line
Php unlimited classification practices-comment and reply functionsThe comment function is often seen below the details pages of major forums or news sections. Of course, it is not just as simple as directly posting comments, and you can reply to
PHP Unlimited Classification Combat--Comment and reply function
Often in the major forums or the news section of the details page to see the comment function, of course, not only directly post comments so simple, you can reply to other people's
For example: A message, B with @ replied to A, so B's reply may be like this:
@aHow much did you have?
That is, when the mouse hovers over the @a, a comment is displayed in a suspended area.
Implementation stepsHere we will take the Inove theme
Li Wu:Good study and thinking, honouring teachers save Thanksgiving. Leaf See root three return to one, rivers the same oneness.Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercise strong body and mind,
PHP compresses html webpage code (clear spaces, line breaks, tabs, comment tags ). PHP compresses html webpage code (clear spaces, line breaks, tabs, comment tags ). There is a good way to compress HTML. compression of html is actually: clear line
Often in the major forums or the news section of the details page to see the comment function, of course, not only directly post comments so simple, you can reply to other people's comments, others can comment on your reply again or reply, so
First, on the personal site of the message page, you can see the effect: Message board
There's also an effect chart here.
In order to save the front end, use jquery to write, backstage use PHP simple read and write MySQL database. database design
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.