Re: Zebra Striped Table Example
| From: | Raymond Irving | Date: | Thu, 04 Jun 2009 04:58:38 +0000 |
| Subject: | Re: Zebra Striped Table Example | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-293591@lists.php.net to get a copy of this message | ||
Hi Ashley,
Thanks for the feedback. See my comments below:
> Doesn't work in the majority of browsers out there at the
> moment.
I've tested it in IE7, FF3, Safari3 and Opera9. Which Browsers have you tested it in?
> For striped tables, you're still better off
> using server-side code to apply a class to every other row of the
> table. Pure
> CSS solutions are not ready
The zebra example was created using server-side code (Raxan PDI) and can be made to use CSS classes
if you so desire:
$page['table tr:even']->addCSS('row-color');
$page->reply();
The above example will generate html tags that can be rendered in all html browsers.
The Raxan Framework is very flexible enough to allow developers to create just about anything they
want.
I would recommend that you download the framework and give the examples a try to see how easy it is
to create both Ajax and Non-Ajax webpages.
If you have any questions feel free to drop me a line or post a comment inside the forum.
__
Raymond Irving
Quickly build and maintain PHP Ajax application
Raxan PDI - http://raxanpdi.com