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.

Re: Like the sliders! (Score: 2, Insightful)

by reziac@pipedot.org on 2014-03-10 06:25 (#C3)

In SeaMonkey 2.5 -- aside from having to turn on JS to see any comments at all, I seem to have permanent moderation dropdowns for every comment, but no moderate button. [scratching head]

Have you thought about crosspollinating slashcode fixes with SoylentNews?

Bugs aside, I'm liking the site... another option for my preferred style of news.
Post Comment
Subject
Comment
Captcha
The number of body parts in the list sweatshirt, coffee, bee, elbow and jelly is?