Re: Re: [PEAR] HTML tables Disregard last message
| From: | leegold2 at verizon dot net | Date: | Mon, 13 Dec 2004 21:36:01 +0000 |
| Subject: | Re: Re: [PEAR] HTML tables Disregard last message | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16210@lists.php.net to get a copy of this message | ||
Disregard last message
I seem to be hacking at it and it's beginning to work..Thanks!!!
>
> From: Justin Patrin <papercrane@gmail.com>
> Date: 2004/12/13 Mon PM 08:32:06 GMT
> To: "leegold2@verizon.net" <leegold2@verizon.net>
> CC: pear-general@lists.php.net
> Subject: Re: [PEAR] HTML tables
>
> 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
>