| Current File : //opt/RZphp5/includes/doc/HTML_Progress2/docs/TDG/index.html |
<?xml version="1.0" encoding="iso-8859-1"?>
<!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 http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>
HTML_Progress2 Manual
</title>
<link rel="stylesheet" href="book.css" type="text/css" />
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1" />
<link rel="start" href="index.html" title="HTML_Progress2 Manual" />
<link rel="next" href="pr01.html" title="Preface" />
<style type="text/css">
/*<![CDATA[*/
body {
background-color: white;
color: black;
}
:link { color: #0000FF }
:visited { color: #840084 }
:active { color: #0000FF }
p.c2 {font-weight: bold}
th.c1 {font-weight: bold}
/*]]>*/
</style>
</head>
<body>
<table class="progress2Header">
<tr>
<td>
<img src="img/pear_progress2.gif" align="left" alt=
"PEAR Progress2 logo" />
<h1>
HTML_Progress2 : The Definitive Guide
</h1>
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center">
HTML_Progress2 Manual
</th>
</tr>
<tr>
<td width="20%" align="left">
</td>
<th width="60%" align="center">
</th>
<td width="20%" align="right">
<a accesskey="n" href="pr01.html">Next</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<div class="book" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h1 class="title">
<a name="progress2doc" id="progress2doc"></a>HTML_Progress2
Manual
</h1>
</div>
<div>
<h2 class="subtitle">
First Edition
</h2>
</div>
<div class="authorgroup">
<h4 class="editedby">
Edited by
</h4>
<h3 class="editor">
<span class="firstname">Laurent</span> <span class=
"surname">Laville</span>
</h3>
</div>
<div>
<p class="copyright">
Copyright � 2005, 2006, 2007, 2008 Laurent Laville
</p>
</div>
<div class="legalnotice">
<a name="copyright" id="copyright"></a>
<p>
This work is licensed under the Creative Commons Attribution
License. To view a copy of this license, visit <a class=
"external" href="http://creativecommons.org/licenses/" title=
"http://creativecommons.org/licenses/">http://creativecommons.org/licenses/</a>.
</p>
</div>
<div class="revhistory">
<table border="1" width="100%" summary="Revision history">
<tr>
<th class="c1" align="left" valign="top" colspan="2">
Revision History
</th>
</tr>
<tr>
<td align="left">
Revision 2.4.0
</td>
<td align="left">
April 20, 2007
</td>
</tr>
<tr>
<td align="left" colspan="2">
<div class="itemizedlist">
<ul type="disc">
<li>Finally after one more release, include as promised
the <code class="filename">HOWTO_AJAX.txt</code> file
content to this guide.
</li>
<li>Change FAQ Howto entries, especially on Upload and
AJAX solutions
</li>
</ul>
</div>
</td>
</tr>
<tr>
<td align="left">
Revision 2.3.0
</td>
<td align="left">
Juin 13, 2007
</td>
</tr>
<tr>
<td align="left" colspan="2">
<div class="itemizedlist">
<ul type="disc">
<li>License changed from PHP 3.01 to New BSD
</li>
<li>Fixed <a class="external" href=
"http://pear.php.net//bugs/bug.php?id=10879" title=
"http://pear.php.net//bugs/bug.php?id=10879">Doc Bug
#10879</a> : add a warning annotation on <a href=
"ch06s02.html" title="Progress Monitor usage">Progress
Monitor usage</a> (about example line 43, see chapter 6)
</li>
<li>Manual license Creative Commons upgrade from version
2.0 to 3.0
</li>
</ul>
</div>
</td>
</tr>
<tr>
<td align="left">
Revision 2.2.0
</td>
<td align="left">
January 2, 2007
</td>
</tr>
<tr>
<td align="left" colspan="2">
<div class="itemizedlist">
<ul type="disc">
<li>Add new feature to import an existing stylesheet to
separate PHP code form HTML layout (with CSS). See
migration guide, new features chapter for details.
</li>
<li>Copyright bumped to 2007
</li>
<li>New section for 2.2.x revisons in chapter : What is
new in version 2?
</li>
</ul>
</div>
</td>
</tr>
<tr>
<td align="left">
Revision 2.1.1
</td>
<td align="left">
December 21, 2006
</td>
</tr>
<tr>
<td align="left" colspan="2">
<div class="itemizedlist">
<ul type="disc">
<li>PHP sources code are now all highlighted to improve
readability
</li>
<li>Fixed path on hide() method page reference for
function synopsis info (missing HTML/)
</li>
<li>Added "alt" html-tag attribute on all
images/screenshots to be more xhtml compliant.
</li>
</ul>
</div>
</td>
</tr>
<tr>
<td align="left">
Revision 2.1.0
</td>
<td align="left">
August 12, 2006
</td>
</tr>
<tr>
<td align="left" colspan="2">
<div class="itemizedlist">
<ul type="disc">
<li>FAQ is now up-to-date with the latest informations.
See especially the common freeze progress bar problem.
</li>
<li>What's new chapter splitted by minor version (2.0,
2.1) with their details.
</li>
<li>Finally a quick start guide to use
HTML_Progress2_Generator.
</li>
<li>New examples with comment in Appendixes section.
</li>
</ul>
</div>
</td>
</tr>
<tr>
<td align="left">
Revision 2.0.1
</td>
<td align="left">
May 24, 2006
</td>
</tr>
<tr>
<td align="left" colspan="2">
<div class="itemizedlist">
<ul type="disc">
<li>TDG revision number follow the package release
version.
</li>
<li>Fixes closing html - style tag of examples in
Appendixes.
</li>
<li>Fixes typo error in chapter 5 (thanks to Stefan
Valouch).
</li>
</ul>
</div>
</td>
</tr>
<tr>
<td align="left">
Revision 1.0.0
</td>
<td align="left">
September 23, 2005
</td>
</tr>
<tr>
<td align="left" colspan="2">
<div class="itemizedlist">
<ul type="disc">
<li>The final (stable) first edition of this Guide.
</li>
</ul>
</div>
</td>
</tr>
</table>
</div>
</div>
<hr />
</div>
<div class="toc">
<p class="c2">
Table of Contents
</p>
<dl>
<dt>
<span class="preface"><a href="pr01.html">Preface</a></span>
</dt>
<dd>
<dl>
<dt>
<span class="sect1"><a href=
"pr01.html#preface.structure">Organization of This
Book</a></span>
</dt>
<dt>
<span class="sect1"><a href=
"pr01s02.html">Pre-requisites</a></span>
</dt>
</dl>
</dd>
<dt>
<span class="part"><a href="pt01.html">I. Introduction</a></span>
</dt>
<dd>
<dl>
<dt>
<span class="chapter"><a href="ch01.html">1. About
Progress2</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch02.html">2. What's New in
version 2 ?</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch03.html">3. FAQ - Frequently
Asked Questions</a></span>
</dt>
</dl>
</dd>
<dt>
<span class="part"><a href="pt02.html">II. Getting
Started</a></span>
</dt>
<dd>
<dl>
<dt>
<span class="chapter"><a href="ch04.html">4.
Introduction</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch05.html">5. Quick Start with
HTML_Progress2</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch06.html">6. Indeterminate
Mode</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch07.html">7.
Listener</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch08.html">8. Quick Start with
HTML_Progress2_Monitor</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch09.html">9. Quick Start with
HTML_Progress2_Generator</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch10.html">10. How to to
implement an AJAX Progress Bar</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch11.html">11. How to to
implement an AJAX Upload with Progress Bar solution</a></span>
</dt>
</dl>
</dd>
<dt>
<span class="part"><a href="pt03.html">III. Migrating
Guide</a></span>
</dt>
<dd>
<dl>
<dt>
<span class="chapter"><a href="ch12.html">12.
Introduction</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch13.html">13. How to adjust
your code</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch14.html">14. New Features in
HTML_Progress2</a></span>
</dt>
</dl>
</dd>
<dt>
<span class="part"><a href="pt04.html">IV. Reference
Guide</a></span>
</dt>
<dd>
<dl>
<dt>
<span class="chapter"><a href="ch15.html">15.
Introduction</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch16.html">16. Error
Handler</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch17.html">17. Events to
observe</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch18.html">18.
HTML_Progress2_Lite</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch19.html">19. API - Application
Programming Interface</a></span>
</dt>
</dl>
</dd>
<dt>
<span class="part"><a href="pt05.html">V. Appendixes</a></span>
</dt>
<dd>
<dl>
<dt>
<span class="chapter"><a href="ch20.html">20. HTML_Progress2
and HTML_Progress2_Lite features comparative</a></span>
</dt>
<dt>
<span class="chapter"><a href="ch21.html">21.
Examples</a></span>
</dt>
</dl>
</dd>
</dl>
</div>
<div class="list-of-figures">
<p class="c2">
List of Figures
</p>
<dl>
<dt>
21.1. <a href="ch21.html#id4849034">Basic usage with default
skin</a>
</dt>
<dt>
21.2. <a href="ch21s02.html#id4849018">Indeterminate Mode usage</a>
</dt>
<dt>
21.3. <a href="ch21s03.html#id4848861">Multi Labels usage</a>
</dt>
<dt>
21.4. <a href="ch21s04.html#id4848776">Progress as a listener to
Event_Dispatcher</a>
</dt>
<dt>
21.5. <a href="ch21s05.html#id4852087">Monitoring usage</a>
</dt>
<dt>
21.6. <a href="ch21s06.html#id4852308">Progress Generator wizard
usage</a>
</dt>
</dl>
</div>
<div class="list-of-tables">
<p class="c2">
List of Tables
</p>
<dl>
<dt>
14.1. <a href="ch14s02.html#id4799222">Error Handling major
changes</a>
</dt>
<dt>
16.1. <a href="ch16s02.html#id4798356">Error Handler configuration
parameters</a>
</dt>
<dt>
16.2. <a href="ch16s04.html#id4803623">Display driver configuration
parameters</a>
</dt>
<dt>
16.3. <a href="ch16s04.html#id4803814">Log driver configuration
parameters</a>
</dt>
<dt>
18.1. <a href="ch18s02.html#id4805256">HTML_Progress2_Lite :
position and size attributes</a>
</dt>
<dt>
18.2. <a href="ch18s02.html#id4805445">HTML_Progress2_Lite : color
attributes</a>
</dt>
<dt>
18.3. <a href="ch18s02.html#id4805581">HTML_Progress2_Lite : frame
attributes</a>
</dt>
<dt>
18.4. <a href="ch18s02.html#id4807020">HTML_Progress2_Lite : TEXT
label attributes</a>
</dt>
<dt>
18.5. <a href="ch18s02.html#id4807279">HTML_Progress2_Lite : BUTTON
label attributes</a>
</dt>
<dt>
18.6. <a href="ch18s02.html#id4807566">HTML_Progress2_Lite : STEP
label attributes</a>
</dt>
<dt>
18.7. <a href="ch18s02.html#id4807826">HTML_Progress2_Lite :
PERCENT label attributes</a>
</dt>
<dt>
18.8. <a href="ch18s02.html#id4808087">HTML_Progress2_Lite :
CROSSBAR label attributes</a>
</dt>
<dt>
20.1. <a href="ch20.html#id4847487">HTML_Progress2_Lite features
comparative</a>
</dt>
</dl>
</div>
<div class="list-of-examples">
<p class="c2">
List of Examples
</p>
<dl>
<dt>
14.1. <a href="ch14s03.html#id4800003">script: <code class=
"filename">examples/horizontal/ancestor.php</code></a>
</dt>
<dt>
14.2. <a href="ch14s03.html#id4800080">script: <code class=
"filename">progress2BasicHandler.js</code></a>
</dt>
<dt>
14.3. <a href="ch14s03.html#id4800301"><code class=
"filename">ancestor.css</code></a>
</dt>
<dt>
14.4. <a href="ch14s03.html#id4799885">New content of <code class=
"filename">ancestor.css</code></a>
</dt>
<dt>
14.5. <a href="ch14s03.html#id4802315"><code class=
"filename">ancestor.css</code> with two skins</a>
</dt>
<dt>
21.1. <a href="ch21.html#id4849062">Without any customization</a>
</dt>
<dt>
21.2. <a href="ch21s02.html#id4848417">progress bar in
indeterminate mode</a>
</dt>
<dt>
21.3. <a href="ch21s03.html#id4848903">Four kind of progress
label</a>
</dt>
<dt>
21.4. <a href="ch21s04.html#id4848816">Progress bar listen to user
process</a>
</dt>
<dt>
21.5. <a href="ch21s05.html#id4852010">progress bar into a
quickform window</a>
</dt>
<dt>
21.6. <a href="ch21s06.html#id4852351">Progress Generator build
with PEAR::HTML_Page2</a>
</dt>
</dl>
</div>
</div>
<table class="progress2Footer">
<tr>
<td align="left">
HTML_Progress2 : The Definitive Guide
</td>
<td align="right">
v 2.4.0 : April 20, 2007
</td>
</tr>
</table>
<div class="navfooter">
<hr />
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
</td>
<td width="20%" align="center">
</td>
<td width="40%" align="right">
<a accesskey="n" href="pr01.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">
</td>
<td width="20%" align="center">
</td>
<td width="40%" align="right" valign="top">
Preface
</td>
</tr>
</table>
</div>
</body>
</html>