HTML_Progress
[ class tree: HTML_Progress ] [ index: HTML_Progress ] [ all elements ]

Source for file limit.php

Documentation is available at limit.php

  1. <?php 
  2. @include '../include_path.php';
  3. /**
  4.  * Vertical limit ProgressBar example
  5.  * 
  6.  * @version    $Id: limit.php,v 1.1 2004/07/05 21:32:31 farell Exp $
  7.  * @author     Laurent Laville <pear@laurent-laville.org>
  8.  * @package    HTML_Progress
  9.  */
  10.  
  11. require_once 'HTML/Progress.php';
  12.  
  13. $bar = new HTML_Progress(HTML_PROGRESS_BAR_VERTICAL010);
  14. $bar->setAnimSpeed(100);
  15. ?>
  16. <html>
  17. <head>
  18. <title>Vertical limit ProgressBar example</title>
  19. <style type="text/css">
  20. <!--
  21. <?php echo $bar->getStyle()?>
  22.  
  23. body {
  24.     background-color: #FFFFFF;
  25.     color: #000000;
  26.     font-family: Verdana, Arial;
  27. }
  28.  
  29. a:visited, a:active, a:link {
  30.     color: navy;
  31. }
  32. // -->
  33. </style>
  34. <script type="text/javascript">
  35. <!--
  36. <?php echo $bar->getScript()?>
  37. //-->
  38. </script>
  39. </head>
  40. <body>
  41. <h1><?php echo basename(__FILE__)?></h1>
  42.  
  43. <?php 
  44. echo $bar->toHtml()
  45. $bar->run();
  46. ?>
  47.  
  48. <p>&lt;&lt; <a href="../index.html">Back examples TOC</a></p>
  49.  
  50. </body>
  51. </html>

Documentation generated on Mon, 11 Mar 2019 13:52:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.