HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Collapsible Box and Tabs

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#108228 (In Topic #21090)
Avatar

Fan in action

Creating a block of content on a comcode page which can be collapsed into a single line header.

Is there a way to create a collapsible block of content on a comcode page? Like a header line with an arrow and clicking on the arrow expands the box revealing the content?

Also, is there a way to create a block with page tabs on a comcode page? Similar to the tabs seen on the user profiles page?
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris GrahamLiked by FadedOut)  
Rating:
#108229
Avatar

Community saint

Yes there is

Code

[hide="Title"]content[/hide]
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris GrahamLiked by FadedOut)  
Rating:
#108230
Avatar

Community saint

For tabs, there are actually 2 types available from the Comcode tag assistant.

Big tabs are vertical, but the standard tabs are similar to the profile tabs. You can mix the two, and have normal tabs displayed inside big tabs.
Back to the top
 
Posted
Item has a rating of 5 (Liked by KingBast)  
Rating:
#108231
Avatar

Fan in action

Thank you.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: