1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Smart Wizard - a JavaScript jQuery Step Wizard plugin</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Include Bootstrap CSS -->
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
- <!-- Optional Bootstrap Theme -->
- <link rel="stylesheet" href="../dist/css/bootstrap.min.css">
- <!-- Include SmartWizard CSS -->
- <link href="../dist/css/smart_wizard.css" rel="stylesheet" type="text/css" />
- <!-- Optional SmartWizard theme -->
- <link href="../dist/css/smart_wizard_theme_arrows.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div class="container">
- <!-- SmartWizard html -->
- <div id="smartwizard">
- <ul>
- <li><a href="#step-1">Step 1<br /><small>This is tab's description</small></a></li>
- <li><a href="#step-2" data-content-url="./ajaxtest.php">Step 2<br /><small>This is tab's description</small></a></li>
- <li><a href="#step-3">Step 3<br /><small>This is tab's description</small></a></li>
- <li><a href="#step-4" data-content-url="./ajaxtest.php">Step 4<br /><small>This is tab's description</small></a></li>
- </ul>
- <div>
- <div id="step-1" class="">
- <h2>Step 1 Content, Non ajax content</h2>
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- </div>
- <div id="step-2" class="">
- <h2>Step 2 Content, Non ajax content</h2>
- <div>Hello This is a div</div>
- </div>
- <div id="step-3" class="">
- <h2>Step 3 Content, Non ajax content</h2>
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- </div>
- <div id="step-4" class="">
- <h2>Step 4 Content, Non ajax content</h2>
- <div class="card">
- <div class="card-header">My Details</div>
- <div class="card-block p-0">
- <table class="table">
- <tbody>
- <tr> <th>Name:</th> <td>Tim Smith</td> </tr>
- <tr> <th>Email:</th> <td>example@example.com</td> </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- Include jQuery -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
- <!-- Include SmartWizard JavaScript source -->
- <script type="text/javascript" src="../dist/js/jquery.smartWizard.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- // Toolbar extra buttons
- var btnFinish = $('<button></button>').text('Finish')
- .addClass('btn btn-info')
- .on('click', function(){ alert('Finish Clicked'); });
- var btnCancel = $('<button></button>').text('Cancel')
- .addClass('btn btn-danger')
- .on('click', function(){ $('#smartwizard').smartWizard("reset"); });
- // Smart Wizard
- $('#smartwizard').smartWizard({
- selected: 0,
- theme: 'arrows',
- transitionEffect:'fade',
- toolbarSettings: {toolbarPosition: 'bottom',
- toolbarExtraButtons: [btnFinish, btnCancel]
- }
- });
- });
- </script>
- </body>
- </html>
|