02.06.2015 Views

Bootstrap Tutorial

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

pellentesque, metus at facilisis hendrerit, lectus velit<br />

facilisis leo, quis volutpat turpis arcu quis enim. Nulla<br />

viverra lorem elementum interdum ultricies. Suspendisse<br />

accumsan quam nec ante mollis tempus. Morbi vel accumsan diam,<br />

eget convallis tellus. Suspendisse potenti.<br />

<br />

<br />

<br />

<br />

Via JavaScript: You can affix an element manually with JavaScript as below:<br />

$('#myAffix').affix({<br />

offset: {<br />

top: 100, bottom: function () {<br />

return (this.bottom =<br />

$('.bs-footer').outerHeight(true))<br />

}<br />

}<br />

})<br />

EXAMPLE<br />

The following example demonstrates the usage through data attributes:<br />

<br />

<br />

<strong>Bootstrap</strong> Affix Plugin example<br />

<br />

<br />

<br />

<br />

<strong>Tutorial</strong> One<br />

<strong>Tutorial</strong> Two<br />

<strong>Tutorial</strong> Three<br />

<br />

<br />

<br />

<strong>Tutorial</strong> One<br />

TUTORIALS POINT<br />

Simply Easy Learning

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

Saved successfully!

Ooh no, something went wrong!