[Tickets #7198] Remove stripe.js
bugs at horde.org
bugs at horde.org
Wed Aug 13 16:57:46 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7198
------------------------------------------------------------------------------
Ticket | 7198
Created By | Michael Slusarz <slusarz at horde.org>
Summary | Remove stripe.js
Queue | Horde Base
Version | HEAD
Type | Enhancement
State | Assigned
Priority | 1. Low
Milestone | 4.0
Patch |
Owners | Horde Developers, Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2008-08-13 12:57) wrote:
Playing around with JS, and this little bit of code should do all
necessary row striping for us onload:
document.observe('dom:loaded', function() {
$H({ even: 'rowEven', odd: 'rowOdd' }).each(function(r) {
$$('table.striped tr:nth-child(' + r.key +
')').invoke('addClassName', r.value);
});
});
For Horde 4, rather than having a separate stripe.js file, it would
probably be best to include this in horde.js.
More information about the bugs
mailing list