#6239: [PATCH] PaginationHelper::sort() automatically appends 'asc' or 'desc' tag class to generated anchor. ----------------------------+----------------------------------------------- Reporter: kuja | Owner: Type: Enhancement | Status: new Priority: Very Low | Milestone: 1.3.x.x Component: General | Version: Severity: Trivial | Resolution: Keywords: pagination | Php_version: n/a Cake_version: 8125 | ----------------------------+----------------------------------------------- Comment (by q7joey):
i have made almost the exact same change to my version. one thing to keep in mind is that ie doesn't cope with the :{after,before} tags and content css. you can use background images to embed arrows and that is what i do. i even use :hover to make the arrow flip as you move onto the column header. {{{ th a.asc { padding-right:20px; background: #ccffcc url(/img/up-arrow.gif) top right no-repeat; } th a.desc { padding-right:20px; background: #ccffcc url(/img/down-arrow.gif) top right no-repeat; } th a:hover.asc { padding-right:20px; background: #cccccc url(/img/down-arrow.gif) top right no-repeat; } th a:hover.desc { padding-right:20px; background: #cccccc url(/img/up-arrow.gif) top right no-repeat; } }}} -- Ticket URL: <https://trac.cakephp.org/ticket/6239#comment:2> CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/> Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tickets cakephp" group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---