Expandable Comments

by
in pipedot on (#3F5)
Good news everyone! I've just pushed out the first version of expandable comments! They may still be a little rough around the edges, but you are welcome to try them out below or on any other story.

As for the nerdy details, the scripts are using jQuery to pull the raw comments in JSON format from the server. The two HTML5 slider elements control the display thresholds. Comments that are under the "Hide" threshold are completely hidden. Comments that are under the "Expand" threshold are collapsed. The rest of the comments are shown in full. Collapsed comments show the subject text + the first line of body text. You can click on any collapsed comment to expand it.

For those that prefer to be script free, we will offer an "Enable JavaScript" checkbox in your user settings page. Unchecking this option will present you with server-side-generated pages instead of the JavaScript enabled pages.

Are we all supposed to be able to moderate at this point? (Score: 2, Interesting)

by unitron@pipedot.org on 2014-03-07 19:43 (#AW)

'Cause there are this things under each comment that I think sort of work, but not exactly the way they do elsewhere, so I can't be sure.
Post Comment

Warning: Undefined array key 0 in /var/pipedot/include/captcha.php on line 64

Warning: Trying to access array offset on null in /var/pipedot/include/captcha.php on line 64

Warning: Undefined array key 0 in /var/pipedot/include/captcha.php on line 64

Warning: Trying to access array offset on null in /var/pipedot/include/captcha.php on line 64

Warning: Undefined array key 0 in /var/pipedot/include/captcha.php on line 64

Warning: Trying to access array offset on null in /var/pipedot/include/captcha.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /var/pipedot/include/captcha.php:64) in /var/pipedot/lib/tools/tools.php on line 1540

Warning: Cannot modify header information - headers already sent by (output started at /var/pipedot/include/captcha.php:64) in /var/pipedot/lib/tools/tools.php on line 1549

Warning: Cannot modify header information - headers already sent by (output started at /var/pipedot/include/captcha.php:64) in /var/pipedot/include/common.php on line 80

Warning: Cannot modify header information - headers already sent by (output started at /var/pipedot/include/captcha.php:64) in /var/pipedot/include/common.php on line 82
Fatal Error - sql [update captcha_challenge set captcha_id = ? where remote_ip = ?] arg [, 216.73.217.59] msg [SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'captcha_id' cannot be null] - Pipedot
Fatal Error
sql [update captcha_challenge set captcha_id = ? where remote_ip = ?] arg [, 216.73.217.59] msg [SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'captcha_id' cannot be null]
Subject
Comment