Added a show comment form button. Add comment form is revealed when the button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.

This commit is contained in:
Chad Kieffer
2009-02-12 07:07:11 +00:00
parent d487558369
commit 9bbe8053c7
7 changed files with 38 additions and 16 deletions

View File

@@ -1,5 +1,4 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<a name="comments"></a>
<ul id="gComments">
<? foreach ($comments as $comment): ?>
<li id="gComment-<?= $comment->id ?>">
@@ -21,3 +20,4 @@
</li>
<? endforeach ?>
</ul>
<a name="add_comment_form"></a>