Bootstrap Tutorial - Show More Section








The following code shows how to show More Section.

Example

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-2.0.2.js'></script>
<link rel="stylesheet" type="text/css"
  href="http://getbootstrap.com/dist/css/bootstrap.css">
<script type='text/javascript'
  src="http://getbootstrap.com/dist/js/bootstrap.js"></script>
<link rel="stylesheet" type="text/css"
  href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
</head><!-- w w w.ja  va  2s  . c  om-->
<body>
  <div class="panel panel-default" id="ReadMorePanel">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a data-toggle="collapse" data-target="#ReadMoreInfo"
          href="#ReadMoreInfo"> Read More / Less </a>
      </h4>
    </div>
    <div id="ReadMoreInfo" class="panel-collapse collapse">
      <div class="panel-body">
        <p>more info.</p>
        <h4 class="title">More titles</h4>
        <p>more content</p>
      </div>
    </div>
  </div>
  <!-- Post Info -->
  <div
    style='position: fixed; bottom: 0; left: 0; background: lightgray; width: 100%;'>
    About this SO Question: <a
      href='http://stackoverflow.com/q/24785622/1366033'>Cant get my
      Accordion to stay closed on default?</a><br /> Fork This Skeleton Here: <a
      href='http://jsfiddle.net/KyleMit/kcpma/'>Bootstrap 3 Skeleton</a><br />
    <div>
</body>
</html>

Click to view the demo