26.06.2017 Views

Bootstrap for ASP.NET MVC

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using <strong>Bootstrap</strong> JavaScript Plugins<br />

The popover plugin will appear similar to the following screenshot in your browser:<br />

The accordion component<br />

The accordion component is probably best known <strong>for</strong> FAQ pages or pages that<br />

require a lot of content that is broken down into manageable parts. An accordion<br />

is made up of a number of panel groups. Each panel group, in turn, has a heading<br />

and body elements. To use the accordion component in our project, per<strong>for</strong>m the<br />

following steps:<br />

1. To allow the panel to collapse when the user clicks on its heading, we need<br />

to add a data-toggle attribute to an anchor element inside the panel<br />

heading element and set its value to collapse.<br />

[ 88 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!