User login

Collapsible

Agaric wants:

agaric: We have some users who would like to expand and collapse comments with ajaxy little plus and minus signs rather than the default all or nothing comment option.
[8:02pm] agaric: Is there a module, or theme snippet, or generally known solution hiding itself from my searching skills?

drupal collapsed comments
drupal theme collapsed read comments

thanks to Gurpartap on #drupal-support:

// but this is for all the comments at once- selectively expanding one at a time or a sub-thread is not supported with this as is...

if (arg(0) == 'node') {
drupal_add_js('$(document).ready(function() { $("div#comment").hide().slideToggle(); });', 'inline');

}

Agaric wants:

agaric: We have some users who would like to expand and collapse comments with ajaxy little plus and minus signs rather than the default all or nothing comment option.
[8:02pm] agaric: Is there a module, or theme snippet, or generally known solution hiding itself from my searching skills?

drupal collapsed comments
drupal theme collapsed read comments

thanks to Gurpartap on #drupal-support:

// but this is for all the comments at once- selectively expanding one at a time or a sub-thread is not supported with this as is...

if (arg(0) == 'node') {
drupal_add_js('$(document).ready(function() { $("div#comment").hide().slideToggle(); });', 'inline');

}

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.