About Me

My photo
Muthupet, TamilNadu, India
SharePoint 2010

Friday, May 17, 2013

Accordion using SharePoint 2010

http://www.switchroyale.com/vallenato/

SPD
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<script src="vallenato/vallenato.js" type="text/javascript"></script>
<link rel="stylesheet" href="vallenato/vallenato.css" type="text/css" media="screen">

sp content editor webpart

<div id="accordion-container">
     <h2 class="accordion-header">Section 1</h2>
     <div class="accordion-content">
          <p>Section 1 Content</p>
     </div>
     <h2 class="accordion-header">Section 2</h2>
     <div class="accordion-content">
          <p>Section 2 Content</p>
     </div>
</div>

No comments:

Post a Comment