I posted this in the Collapsed Text module issue queue, but have yet to get a response, so I thought I'd post here to see what you guys think.
Here's what I'd like to do: When using multiple collapse fields on a page (for example; "Season 1", "Season 2", "Season 3"), how would I have the other fields collapse when a user opens a new one.
for example: A user clicks "Season 1". The field expands. Then he clicks "Season 2". What I want is, when he clicks "Season 2", I'd like the field that's open (Season 1) to close automatically. In other words, only one field will be open at once. As he clicks other fields, the previous one's will close automatically. SO basically by default, I'd like to have only one collapsed text show at once... the others collapse by default when a new one is clicked.
What changes, if possible, would I need to make to accomplish this?
Thanks!
Comments
BUMPING this... 'cause I
BUMPING this... 'cause I really need help getting this done.
Thanks!
I believe you meant the
I believe you meant the "Collapsible Text" module. I am not very familiar with that module, but it would appear to me that you would need a bit of custom JS coding (could be added to your theme) to accomplish this. A few lines of code would do it.