Unfolder

Jul. 14th, 2005 10:30 pm
undyingking: (Default)
[personal profile] undyingking
Just seen this on [livejournal.com profile] lj_nifty  -- it unfolds long comment threads in situ, without taking you away from the main comments page. How cool is that? (Very.)

Not sure LJ will be too keen on this, I believe they do it the way they do to save on database hits. We shall see if they respond...

(I love looking at fancy JavaScripts, it amazes what people think of making them do. See the way he's put the raw gif in?)

Date: 2005-07-14 09:44 pm (UTC)
From: [identity profile] bateleur.livejournal.com
LJ won't mind, because only 0.1% of users will install it.

Date: 2005-07-15 07:51 am (UTC)
From: [identity profile] undyingking.livejournal.com
Good point -- lucky 0.1%!

Date: 2005-07-17 02:59 pm (UTC)
chrisvenus: (Default)
From: [personal profile] chrisvenus
Well, I can't be bothered to read this but the way I *assume* it works is to rewrite the page to add the new link into it for "unfold" and then when that link is clicked it does a http requesdt to the server for the page, strips out the comments it needs and puts them in the page with magic javascript. The sensible way of doing it will only produce more server load because it is easier to read the comments and so people will do so more often.

That does of course assume they are doing it sensibly. If they're not then they are crazy. And I can't really think of any practical way to do it non-sensibly anyway. :)

Date: 2005-07-18 07:39 am (UTC)
From: [identity profile] undyingking.livejournal.com
That would be the sensible way, but I think that actually it re-requests the whole of the original page as well as the newly-unfolded comments. So some room for optimization!

Profile

undyingking: (Default)
undyingking

March 2012

S M T W T F S
     123
4 5678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 9th, 2025 05:53 pm
Powered by Dreamwidth Studios