?

Log in

No account? Create an account

Previous Entry | Next Entry

Simple question, but it will drive me insane if someone doesn't answer it! How do I turn the Comment Thread Collapsing javascript OFF? It's in effect on this page and I HATE it. With a passion. I don't care if the post eventually gets 1,000 comments - I want to be able to read every one of them without clicking to expand anything. It also makes my CSS look like puke (there's a better word than that but I can't use it here). Somebody please help!

Tags:

Comments

( 6 comments — Leave a comment )
av8rmike
Aug. 5th, 2008 07:03 pm (UTC)
Quoting from the FAQ, which I can't do when in Support:

Collapsed Threads: With 50+ comments on a page, the comment threads will collapse, so lower-level child comments display as a link rather than the full comment; this automatic behavior cannot be prevented.
(Also, it doesn't matter what layout you're using.)
marahmarie
Aug. 5th, 2008 09:04 pm (UTC)
Can we add javascript to the theme layer? If we can, maybe I can figure out a workaround.
av8rmike
Aug. 5th, 2008 09:24 pm (UTC)
No, that's mentioned in FAQ 14 (which is in the community sidebar).

However, I think there are GreaseMonkey scripts floating around that will do the same thing, and at least one dedicated LJ extension for Firefox that does something similar. You could poke around for those, as I don't use them and can't give you links.
marahmarie
Aug. 5th, 2008 09:48 pm (UTC)
Ahhhhrrrrrrggggggghhhhh. So I am helpless it is hopeless, is it? OK, so LJ has our hands tied behind our backs like we're little kids- "No dear, you may NOT play with the javascript! Run along now!" I really feel like I am 5 getting an answer like that- I'm not complaining about you, either, not at all!, just LJ and their repressive 'no javascript/no iframes/ no "suspect CSS" rules' in general. If Blogspot and Typepad and Wordpress can allow all this stuff, why can't LJ? Isn't it time they got with the times?[/end rant]

All that said, I think it would be easier on my readers as well if they didn't have to click to expand every other comment, so the GM scripts are of limited use to me unless I can convince everyone and their mothers to download and use them as well. Thanks, anyway. :)
marahmarie
Aug. 5th, 2008 10:31 pm (UTC)
Just one more question, Mike: you mentioned here that any override of the EntryPage::print_comment() function in a theme layer would disable the thread expander code (ah ha!, maybe my hands are not tied after all?). Would customizing that function by iteslf disable comment collpasing or just hide/disable the "Expand" link?

"Finally, another known issue: The comment thread expander, added to Expressive a few months ago and recently expanded to most layouts, uses JavaScript for its implementation. Therefore, if users try to customize the EntryPage::print_comment() function, the compiler will disable the thread expander code."
av8rmike
Aug. 5th, 2008 11:13 pm (UTC)
I'm sorry you don't like the JavaScript answer, but that's what it is, and that's what you'll get whether you ask me, Support, or suggestions. I find it hard to believe all those other sites found a way to use JavaScript safely and LJ hasn't. For all I know, maybe they're wishing they had gone LJ's route so that they wouldn't have to deal with the security headaches.

That "issue" that I posted about a few months ago is no longer an issue: they figured out a way to encapsulate the thread expander JS so that it wasn't called directly by theme or layout layers. Even if it was still an issue, the only thing that happened was that the Expand link didn't do anything. Overriding that function doesn't change the thread collapsing behavior.
( 6 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars