Space for comments on a html website
August 5th, 2013
I have a form that will allow visitors to my site to post comments but I’m wondering how to make the comments already entered are displayed on the same page.
example:
<a href="#write-comment" title="Laissez votre commentaire !" class="code middle-button" style="margin:28px 0px 0px 4px;"><span class="middle-right"></span>Commentez</a>
<div style="display: none;">
<div id="write-comment" class="popup-comment">
<h1 style="margin-left:16px; padding-top:16px;">Laissez votre avis</h1>
<form action="#">
<fieldset><input name="Name" type="text" value="Nom:" onfocus="if(this.value=='Nom:')this.value='';" onblur= "if(this.value=='')this.value='Name:';"/></fieldset>
<fieldset><input name="Mail" type="text" value="E-Mail:" onfocus="if(this.value=='E-Mail:')this.value='';" onblur= "if(this.value=='')this.value='E-Mail:';"/></fieldset>
<fieldset><input name="Web" type="text" value="Occupation:" onfocus="if(this.value=='Occupation:')this.value='';" onblur= "if(this.value=='')this.value='Web:';"/></fieldset>
<fieldset><textarea name="Message" onfocus="if(this.value=='Message:')this.value='';" onblur= "if(this.value=='')this.value='Message:';">Message:</textarea></fieldset>
<fieldset><input type="submit" value="Envoyer" /></fieldset>
</form>
Surely that would be controlled by PHP… sure the message box might be in html, but the whole process and comments would most likely be controlled with PHP coding.
Why not utilize something already readily available and used by many?
www.disqus.com
Hello, thanks for replies.
I saw how “DISQUS” works, but it’s possible to help me with throught my way ?