Re: HTML tables
| From: | Justin Patrin | Date: | Mon, 13 Dec 2004 20:32:06 +0000 |
| Subject: | Re: HTML tables | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16208@lists.php.net to get a copy of this message | ||
On Mon, 13 Dec 2004 19:53:22 +0000, leegold2@verizon.net
<leegold2@verizon.net> wrote:
> I want to get this in my tables for each row:
>
> <tr valign=top onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut
> ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
>
> I currently have only this in a loop which workd but I don't see how to add another(2nd)
> row attribute...so I have this:
> $RAttrs = array("valign" => "top");
This is an associative array. Add another key.
$RAttr = array('valign' => 'top', 'bgcolor' =>
'#000000');
> $table -> UpdateRowAttributes($i, $RAttrs);
>
> How can I add the mouseover as well?
>
--
Justin Patrin