Re: Zebra Grid in Tapestry 5.2.6
The nth-child approach won't work on IE 6, 7 8, I believe. Bob Harner On Aug 9, 2011 9:15 AM, TG tapestry...@hotmail.com wrote: Dmitry, your solution works like a charm :) ! I think it is the simplest that works with Tapestry grid I have seen so far. Thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4681963.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Zebra Grid in Tapestry 5.2.6
On Mon, 08 Aug 2011 23:14:55 -0300, TG tapestry...@hotmail.com wrote: What is the simplest way to do this without writing any codes but maybe just css3? See http://reference.sitepoint.com/css/pseudoclass-nthoftype. No code needed, just CSS. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Zebra Grid in Tapestry 5.2.6
Dmitry, your solution works like a charm :) ! I think it is the simplest that works with Tapestry grid I have seen so far. Thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4681963.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Zebra Grid in Tapestry 5.2.6
What is the simplest way to do this without writing any codes but maybe just css3? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4680461.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Zebra Grid in Tapestry 5.2.6
Tapestry JumpStart shows you how to do exactly that. Not exactly no code, but its pretty easy. On Aug 8, 2011, at 10:14 PM, TG wrote: What is the simplest way to do this without writing any codes but maybe just css3? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4680461.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Zebra Grid in Tapestry 5.2.6
Here's one solution: CSS: .myRowClass:hover, .myRowClass:nth-child(even):hover { background-color: #DCE5FF; } .myRowClass:nth-child(even) { background-color: #E8E8E8; } TML: t:grid ... rowClass=literal:myRowClass On Tue, Aug 9, 2011 at 06:14, TG tapestry...@hotmail.com wrote: What is the simplest way to do this without writing any codes but maybe just css3? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4680461.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Dmitry Gusev AnjLab Team http://anjlab.com