cvs: pear /HTML_Progress/examples/vertical basic.html basic.php limit.html limit.php

From: Date: Mon, 05 Jul 2004 21:32:31 +0000
Subject: cvs: pear /HTML_Progress/examples/vertical basic.html basic.php limit.html limit.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-21548@lists.php.net to get a copy of this message
farell Mon Jul 5 17:32:31 2004 EDT Added files: /pear/HTML_Progress/examples/vertical basic.html basic.php limit.html limit.php Log: HTML_Progress examples reorganized by category http://cvs.php.net/co.php/pear/HTML_Progress/examples/vertical/basic.html?r=1.1&p=1 Index: pear/HTML_Progress/examples/vertical/basic.html +++ pear/HTML_Progress/examples/vertical/basic.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="robots" content="index,nofollow" /> <meta name="keywords" content"="HTML_Progress, vertical, progress meter" /> <meta name="description" content="how to make a vertical progress meter " /> <meta name="author" content="Laurent Laville" /> <title>PEAR::HTML::Progress example: Vertical</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="../examples.css" /> </head> <body> <a name="top"> <p><a href="../index.html"><img src="../images/home.gif" alt="Examples TOC"/>examples</a></p> <h1><span class="chapter">Vertical </span></h1> <p align="right">$Date: 2004/07/05 21:32:31 $</p> <div class="toc">&nbsp;Table of contents </div> <ul> <li><a href="#intro">Introduction<a> <li><a href="#render">Render options<a> <li><a href="#output">Ouput</a> <li><a href="#source">PHP source syntax highlight<a> <li><a href="#run">Play demo<a> </ul> <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> <p>This example requires : <ul> <li>PEAR::HTML_Progress 1.2.0RC3 or better.</li> </ul> </p> <hr/> <p><b>This example will run a vertical ProgressBar, beginning at value 85, and increased through 100 with +1 step.</b></p> <p>Percent text info is right aligned on 50 pixels width area at right side of the progress bar (default). <br />Cells have default size and colors.</p> <p>[<a href="#top">Top</a>]</p> <a name="render"> <h2><img src="../images/config.gif"/>&nbsp;Render options </h2> None. Used all default values. <p>[<a href="#top">Top</a>]</p> <a name="output"> <h2><img src="../images/image.gif"/>&nbsp;Output</h2> <h3>Screenshot </h3> <p><img src="../screenshots/vertical4.png"/></p> <p>[<a href="#top">Top</a>]</p> <a name="source"> <h2><img src="../images/source.gif"/>&nbsp;PHP source syntax highlight</h2> <a target="_blank" href="../highlighter.php?file=vertical/basic.php">Open</a> source listing in a new window. <p>[<a href="#top">Top</a>]</p> <a name="run"> <h2><img src="../images/run.gif"/>&nbsp;Play demo</h2> <p><a href="basic.php">Run</a> the script.</p> <p>[<a href="#top">Top</a>]</p> </body> </html> http://cvs.php.net/co.php/pear/HTML_Progress/examples/vertical/basic.php?r=1.1&p=1 Index: pear/HTML_Progress/examples/vertical/basic.php +++ pear/HTML_Progress/examples/vertical/basic.php <?php @include '../include_path.php'; /** * Basic Vertical ProgressBar example. * * @version $Id: basic.php,v 1.1 2004/07/05 21:32:31 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress */ require_once 'HTML/Progress.php'; $bar = new HTML_Progress(HTML_PROGRESS_BAR_VERTICAL); $bar->setAnimSpeed(100); $bar->setValue(85); ?> <html> <head> <title>Basic Vertical ProgressBar example</title> <style type="text/css"> <!-- <?php echo $bar->getStyle(); ?> body { background-color: #FFFFFF; color: #000000; font-family: Verdana, Arial; } a:visited, a:active, a:link { color: navy; } // --> </style> <script type="text/javascript"> <!-- <?php echo $bar->getScript(); ?> //--> </script> </head> <body> <h1><?php echo basename(__FILE__); ?></h1> <?php echo $bar->toHtml(); $bar->run(); ?> <p>&lt;&lt; <a href="../index.html">Back examples TOC</a></p> </body> </html> http://cvs.php.net/co.php/pear/HTML_Progress/examples/vertical/limit.html?r=1.1&p=1 Index: pear/HTML_Progress/examples/vertical/limit.html +++ pear/HTML_Progress/examples/vertical/limit.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="robots" content="index,nofollow" /> <meta name="keywords" content"="HTML_Progress, vertical, limit, progress meter" /> <meta name="description" content="how to make a vertical and limited progress meter " /> <meta name="author" content="Laurent Laville" /> <title>PEAR::HTML::Progress example: Vertical Limit</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="../examples.css" /> </head> <body> <a name="top"> <p><a href="../index.html"><img src="../images/home.gif" alt="Examples TOC"/>examples</a></p> <h1><span class="chapter">Vertical Limit</span></h1> <p align="right">$Date: 2004/07/05 21:32:31 $</p> <div class="toc">&nbsp;Table of contents </div> <ul> <li><a href="#intro">Introduction<a> <li><a href="#render">Render options<a> <li><a href="#output">Ouput</a> <li><a href="#source">PHP source syntax highlight<a> <li><a href="#run">Play demo<a> </ul> <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> <p>This example requires : <ul> <li>PEAR::HTML_Progress 1.2.0RC3 or better.</li> </ul> </p> <hr/> <p><b>This example will run a vertical ProgressBar, with limits (min = 0, max = 10), beginning at 0 and increased through 100 with +1 step.</b></p> <p>Percent text info is right aligned on 50 pixels width area at right side of the progress bar (default). <br />Cells have default size and colors.</p> <p>[<a href="#top">Top</a>]</p> <a name="render"> <h2><img src="../images/config.gif"/>&nbsp;Render options </h2> None. Used all default values. <p>[<a href="#top">Top</a>]</p> <a name="output"> <h2><img src="../images/image.gif"/>&nbsp;Output</h2> <h3>Screenshot </h3> <p><img src="../screenshots/vertical3.png"/></p> <p>[<a href="#top">Top</a>]</p> <a name="source"> <h2><img src="../images/source.gif"/>&nbsp;PHP source syntax highlight</h2> <a target="_blank" href="../highlighter.php?file=vertical/limit.php">Open</a> source listing in a new window. <p>[<a href="#top">Top</a>]</p> <a name="run"> <h2><img src="../images/run.gif"/>&nbsp;Play demo</h2> <p><a href="limit.php">Run</a> the script.</p> <p>[<a href="#top">Top</a>]</p> </body> </html> http://cvs.php.net/co.php/pear/HTML_Progress/examples/vertical/limit.php?r=1.1&p=1 Index: pear/HTML_Progress/examples/vertical/limit.php +++ pear/HTML_Progress/examples/vertical/limit.php <?php @include '../include_path.php'; /** * Vertical limit ProgressBar example * * @version $Id: limit.php,v 1.1 2004/07/05 21:32:31 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress */ require_once 'HTML/Progress.php'; $bar = new HTML_Progress(HTML_PROGRESS_BAR_VERTICAL, 0, 10); $bar->setAnimSpeed(100); ?> <html> <head> <title>Vertical limit ProgressBar example</title> <style type="text/css"> <!-- <?php echo $bar->getStyle(); ?> body { background-color: #FFFFFF; color: #000000; font-family: Verdana, Arial; } a:visited, a:active, a:link { color: navy; } // --> </style> <script type="text/javascript"> <!-- <?php echo $bar->getScript(); ?> //--> </script> </head> <body> <h1><?php echo basename(__FILE__); ?></h1> <?php echo $bar->toHtml(); $bar->run(); ?> <p>&lt;&lt; <a href="../index.html">Back examples TOC</a></p> </body> </html>

« previous php.pear.cvs (#21548) next »