Comments test

This commit is contained in:
NikaZhenya 2018-10-04 17:22:15 -05:00
parent 7b7657efbf
commit 3219477c7e
3 changed files with 6 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -9,11 +9,16 @@ window.onload = function () {
function add_shares (url) {
var section = document.getElementsByTagName('section')[0],
div = document.createElement('div');
div = document.createElement('div'),
script = document.createElement('script');
div.id = 'social';
div.style.cssText = 'margin-top:1em;padding-top:1em;border-top:1px dashed gray;'
div.innerHTML += '<h3 style="margin:0;color:gray;font-style:normal;">Comments</h3>';
div.innerHTML += '<p><a href="#comments"><span id="cmtcount"></span> Comments</a></p>';
section.appendChild(div);
script.type = 'text/javascript';
script.src = '/hashover/comments.php';
div.appendChild(script);
}