Remove title attribute - 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: Remove title attribute (/showthread.php?tid=5280) |
Remove title attribute - marks - 2013-10-14 Hi, how can I remove the title attribute in the navigation bar? Thank you in advance. Sincerely, Mark RE: Remove title attribute - Carlos - 2013-10-15 You have to replace get_navigation by a modified function. Here's a way: 1. Create a component e.g. my-navigation with this content: Code: <?php 2. Edit your template and replace Code: get_navigation(return_page_slug()); Code: get_component('my-navigation'); RE: Remove title attribute - shawn_a - 2013-10-15 or js Code: $('*[title]').removeAttr('title'); RE: Remove title attribute - marks - 2013-10-15 Thank you very much! It works perfectly RE: Remove title attribute - j*z - 2013-11-19 (2013-10-15, 01:39:43)shawn_a Wrote: or js Should this also work with an i18n drop menu? I'm trying to remove the title so it doesn't cover up my first drop menu item. I added your line of js in the template surrounded by script tags. I think I am missing something here.... |