Comments test
This commit is contained in:
parent
7b7657efbf
commit
3219477c7e
Binary file not shown.
Binary file not shown.
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue