?

Log in

No account? Create an account
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

April 9th, 2005

Dynamic comment management [Apr. 9th, 2005|03:08 pm]
LiveJournal Development

lj_dev

[bradfitz]
Feel free to play with the dynamic comment management that I posted about earlier.

Just turn on your beta-test user flag: (I just turned everybody off.)

http://www.livejournal.com/betatest.bml

The "AJAX" comment management means you can delete/[un]screen/[un]freeze all without leaving the comment page.

It'll work for S2 or S1, assuming you don't have your own custom S2 layout. In that case all you really have to do is surround your comments by the DOM id provided by $c.dom_id and delete will work.

For screen/unscreen bar color changes to work you'll need to define a JavaScript event handler for those actions. See the other layouts for examples. Search for "set_handler".

Let me know bugs, browser issues, or suggestions. (In particular, I want to let users be able to style the dynamic box thing with CSS, but for now it's hardcoded grey/black... not sure the best way to do that without requiring the CSS to include !important, which seems wrong....)

Update 4:18pm: Whoops, I hadn't put the S1 code live. Works now.
link91 comments|post comment

navigation
[ viewing | April 9th, 2005 ]
[ go | Previous Day|Next Day ]