>On Friday 07 October 2005 15:14, Larry Lyons wrote: >> A simpler way would be to create 2 styles, lets call one results1 and the >> other results0 > >Simpler is what we do here- give the table the class 'sortable' or >'zebrastrip' and the common javascript code zebra strips it client-side, with >optional sorting by clicking the th cells. > >Next mission is to make it do client-side paging to. > >-- > >Tom Chiverton >Advanced ColdFusion Programmer
Simpler? Lets see about 1 line of cf code and 3 or so for the stylesheet vs at least 10 for the javascript. Also lets not forget that many people turn JS off. If that's your definition of simple, then you have a bright future with the Bush administration. larry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220378 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54