Re: HTML_Page body attributes
| From: | Klaus Guenther | Date: | Mon, 22 Mar 2004 13:36:29 +0000 |
| Subject: | Re: HTML_Page body attributes | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11443@lists.php.net to get a copy of this message | ||
From: "Flemming Grove Sørensen" <flemming@grove-s.net>
> Is there a way to set body attributes for a page created with HTML_Page
> (the latest beta version)?
>
> I would like to set an onload() script.
Hi Flemming,
try
$page->setAttributes();
This is inherited from HTML_Common. In the next release of HTML_Page, I will
add a setBodyAttributes wrapper for this function to make it easier to find
and more clear.
hth,
Klaus