How can I make drop down auto expand text like the smugmug faq?

MichaelT - May 12, 2009 - 05:39

Is there a Drupal module to make a drop down auto expanding text (like you see in on the smugmug customization faq)? http://smugmug.com/help/customize-faq.

I realize it's not a drupal site, but how do you make expandable links like this in a story page in drupal to show the text below instead of opening a separate page?

Thanks

I think the FAQ module

marquardt - May 12, 2009 - 06:53

I think the FAQ module provides this type of display, among other options.

Thanks for your reply. That

MichaelT - May 17, 2009 - 11:42

Thanks for your reply. That would really help on a strict FAQ page. But what I didn't explain very well is that I really meant was just expandable content:

My problem is that I have too much content for one page. I want to have a normal story page of text with a bullet point about certain authors half way down. People can then click on the authors and a description of them would come out beneath. I want to keep them on the same page. A better web example is:

http://www.flooble.com/scripts/expand.php

Do you know of any modules that could help this? Any advice is greatly appreciated.

thickbox

m13 - May 17, 2009 - 11:43

is the only thing that I can think of :)

Would the jQuery $().hide()

marquardt - May 18, 2009 - 07:32

Would the jQuery $().hide() and $().show() (or $().fadeIn() methods do it? jQuery comes with Drupal...

Or a jQuery accordion, at least after some styling? There's a jQuery UI module that makes is available within Drupal. You'll also have to add some JavaScript to your page - but it really isn't difficult. There's an introduction to jQuery in Drupal in the handbook section, and a very good documentation on the jQuery UI library on its homepage.

Thanks for your comments. I

MichaelT - May 27, 2009 - 02:59

Thanks for your comments. I am trying to go down the module route rather than coding if possible.

Do you think the "Collapsible Text" module would work? : http://drupal.org/project/collapse_text

I cannot find an example of it in practice. I am hoping it will look similar to the screen print in the "Collapsing Panels Style" module (http://drupal.org/project/panels_collapse)

Any advice welcome

 
 

Drupal is a registered trademark of Dries Buytaert.