Re: Package Proposal: HTML_Progress
| From: | Bertrand Mansion | Date: | Tue, 27 May 2003 12:35:02 +0000 |
| Subject: | Re: Package Proposal: HTML_Progress | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16748@lists.php.net to get a copy of this message | ||
<laurent.laville@worldonline.fr> wrote :
>
> "Limbourg Arnaud" <arnaud.limbourg.prestataire@cegetel.fr> a écrit dans le
> message de news:
> 40043BDD1EC9D211946400A024A6E1840E7FFB30@cassandre.sfr.com...
>> Can you put the source online ?
>>
>> It looks good anyway ;)
>>
>> Arnaud.
>>
>
> Of course Arnaud !
> Download the ZIP file at
> http://farell.free.fr/pear/HTML_Progress/HTML_Progress-0.1.zip
>
> Inside there is the class HTML_Progress in Progress.php
> and a directory /docs with all live demo go to /docs/index.html and try
> all examples.
>
> To try the last example (6) you need to install QuickForm 3 (it won't work
> with 2.10) and Template Sigma
>
> Enjoy
> Comments will be greatly appreciated !
Hi Laurent,
GetElementById is not supported in every browsers AFAIK. You might want to
test the browser version first. You could also consider having a look at the
HTML_Javascript package in PEAR, but I don't know if it can help you in any
way, as I've never used it.
As you are outputting html in the end, maybe you could have your class
extend HTML_Common that provides methods to handle attributes, tabs and line
endings. The standard ways to output HTML is via toHtml() and display().
A while ago, Klaus Guenther proposed a CSS package IIRC. Maybe you could use
it to generate your CSS. Klaus ?
Cheers,
Bertrand Mansion
Mamasam