Advertisement
Ankit-Kulkarni

index file for progress tracker

Oct 27th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.29 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <title> testing jquery bubbles</title>
  4.  
  5.         <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
  6.  
  7.         <link rel="stylesheet" type="text/css" href="css/jquery-progress-bubbles.css">
  8.  
  9.        
  10.         <script type="text/javascript" src="js/jquery1.10.1.js"></script>
  11.         <script type="text/javascript" src="js/jquery-progress-bubbles.js"></script>
  12.  
  13.         <script type="text/javascript">
  14.                     $(function(){
  15.  
  16.                         $('#bubbles').progressBubbles( {
  17.                                 bubbles : [
  18.                                     {'title' : 'this is 1st'},
  19.                                     {'title' : 'this is 2nd'},
  20.                                    
  21.                                 ]
  22.                             }
  23.                         );
  24.  
  25.                         $('#bubbles').progressBubbles('progress');
  26.                         $('#bubbles').progressBubbles('regress');
  27.  
  28.                         $('#progress').on('click', function(event){
  29.                             $('#bubbles').progressBubbles('progress');
  30.                         });
  31.  
  32.                         $('#regress').on('click', function(event){
  33.                             $('#bubbles').progressBubbles('regress');
  34.                         });
  35.                     });
  36.                 </script>
  37.  
  38.        
  39.  
  40.     </head>
  41.  
  42.     <body>
  43.  
  44.         <div id="bubbles" >
  45.  
  46.         </div>
  47.         <div>
  48.             HTML forms here. Need to write some jquery code for validations and all.<br><br>
  49.  
  50.         </div>
  51.  
  52.                 <p>
  53.                     <button id="regress" class="btn btn-primary">Previous Step</button>
  54.                     <button id="progress" class="btn btn-success">Next Step</button>
  55.                 </p>
  56.  
  57.     </body>
  58.  
  59. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement