Skip to content

Commit

Permalink
upd wizard demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
olton committed Jan 8, 2015
1 parent 0bbeb87 commit ee7a107
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion docs/wizard.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ <h1>
</h1>

<div class="example">
<h4>Default initialize </h4>
<div class="wizard" id="wizard">
<div class="steps">
<div class="step">Page 1</div>
Expand All @@ -49,7 +50,7 @@ <h1>
$(function(){
$('#wizard').wizard({
locale: 'en',
startPage: 2,
//startPage: 2,
onCancel: function(){
$.Dialog({
title: 'Wizard',
Expand Down Expand Up @@ -79,6 +80,28 @@ <h1>
</script>
</div>

<div class="example">
<h4>This wizard started from page number 3</h4>
<div class="wizard" id="wizard2">
<div class="steps">
<div class="step">Page 1</div>
<div class="step">Page 2</div>
<div class="step">Page 3</div>
<div class="step">Page 4</div>
<div class="step">Page 5</div>
</div>
</div>

<script>
$(function(){
$('#wizard2').wizard({
locale: 'en',
startPage: 3
});
});
</script>
</div>

<h3>Html definition</h3>

<pre class="prettyprint linenums">
Expand Down

0 comments on commit ee7a107

Please sign in to comment.