Expand/Collapse text in a FAQ

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
rlkb
Posts: 9
Joined: Sat Aug 09, 2014 3:51 am

Expand/Collapse text in a FAQ

Post by rlkb »

I need to make a text Collapsible/expandable in a faq im editing.
Is there a way to do it without messing with code? (because when you choose a style I can see "collapse" in the menu).

Thanks
rlkb
Posts: 9
Joined: Sat Aug 09, 2014 3:51 am

Re: Expand/Collapse text in a FAQ

Post by rlkb »

OK, I got it to work right (using code lines in wysiwyg editor).
Just 1 thing, which bothers me a little bit:
When I make a bordered table to collapse, there's still a thin border remaining. example Here (click on "Demo Title").

Code: Select all

<h5 data-toggle="collapse" data-target="#demo">
 <a href="#null">
  <span style="text-decoration: underline; color: #333;">Demo Title</span>
 </a>
</h5>

<table class="table-bordered">
 <tbody>
  <tr>
   <td>
    <div id="demo" class="collapse in">Demo Text</div>
   </td>
  </tr>
 </tbody>
</table>
Post Reply