Menu links - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Menu links (/showthread.php?tid=1594) |
Menu links - qlwik1 - 2011-04-22 Well it is not a big problem, but very importans impovement for me: I need to change links in my menu from: <li class="subpage" ><a href="http://www.domain.com/subpage" title="any title">My subpage</a></li> to: <a href="/subpage">My subpage</a> thanks for help!! Menu links - mvlcek - 2011-04-22 qlwik1 Wrote:Well it is not a big problem, but very importans impovement for me: Why? It's best practice to group a menu in a list, and this is not only for handicapped users. You can style the list in a way that you can't see a difference between having it or not. Menu links - qlwik1 - 2011-04-22 mvlcek Wrote:qlwik1 Wrote:Well it is not a big problem, but very importans impovement for me: That's right, but for one site I need to cut out as much code as possible. It can be also like: <li><a href="/subpage">My subpage</a></li> Menu links - qlwik1 - 2011-04-22 ok i got it, in file admin/inc/theme_functions.php must be changed line 349 to $menu .= '<li><a href="/'.($page['url']).'">'.$page['menu'].'</a></li>'."\n"; |