6.0.0-beta1
7/5/25

[#7198] Remove stripe.js
Summary Remove stripe.js
Queue Horde Base
Queue Version HEAD
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester slusarz (at) horde (dot) org
Created 08/13/2008 (6170 days ago)
Due
Updated 12/14/2008 (6047 days ago)
Assigned
Resolved 12/14/2008 (6047 days ago)
Milestone 4
Patch No

History
12/14/2008 03:50:05 PM Chuck Hagenbuch Taken from Michael Slusarz
State ⇒ Rejected
 
11/09/2008 05:51:07 PM Chuck Hagenbuch Taken from Horde DevelopersHorde Developers
 
11/09/2008 05:50:59 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
This doesn't handle striping of lists (<ol>, etc.) like the current 
code does, though. And it doesn't provide a trigger for re-striping a 
table after filtering rows from it or adding rows to it.
08/13/2008 04:57:44 PM Michael Slusarz Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒ 4
Assigned to Horde DevelopersHorde Developers
Assigned to Michael Slusarz
Queue ⇒ Horde Base
Summary ⇒ Remove stripe.js
Type ⇒ Enhancement
State ⇒ Assigned
Reply to this comment
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.

Saved Queries