jquery - Bootstrap Modal Form with Next/Previous Buttons -


i new bootstrap , coming jqueryui wondering if has done next/previous form interface around whole scrolling viewport idea.

in past i've worked following:

http://css-tricks.com/jquery-ui-tabs-with-nextprevious/

so before started wanted ask- wanted out concerns validation etc.

it's untested, basic idea include tabbable nav modal body , add prev/next button every tab content this:

<form action="">      <div class="tabbable">         <ul class="nav nav-tabs">           <li class="active"><a href="#tab1" data-toggle="tab">section 1</a></li>           <li class=""><a href="#tab2" data-toggle="tab">section 2</a></li>         </ul>         <div class="tab-content">           <div class="tab-pane" id="tab1">             <p>form section one</p>             <a href="#tab2" data-toggle="tab" class="btn pull-right">next</a>           </div>           <div class="tab-pane" id="tab2">             <p>next form part</p>             <a href="#tab2" data-toggle="tab" class="btn pull-left">prev</a>           </div>         </div>       </div> </form> 

another option hide <ul>-tag , put prev/next buttons modal footer.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -