This should work fine to disable a separate header:
<a href="service.php" title="services for cars" onmouseover="this.title='';" />
If you need a name after this, you can restore it:
<a href="service.php" title="services for cars" onmouseover="this.setAttribute('org_title', this.title'); this.title='';" onmouseout="this.title = this.getAttribute('org_title');" />
This method is not general, though .. to apply it to all anchors, there is such JavaScript code:
window.onload = function() { var links = document.getElementsByTagName("a"); for (var i = 0; i < links.length; i++) { var link = links[i]; link.onmouseover = function() { this.setAttribute("org_title", this.title); this.title = ""; }; link.onmouseout = function() { this.title = this.getAttribute("org_title"); }; } };
Live test .
Edit: apply the same thing to other tags (e.g. <img> ) first move the code core to the function:
function DisableToolTip(elements) { for (var i = 0; i < elements.length; i++) { var element = elements[i]; element.onmouseover = function() { this.setAttribute("org_title", this.title); this.title = ""; }; element.onmouseout = function() { this.title = this.getAttribute("org_title"); }; } }
Then change the code to:
window.onload = function() { var links = document.getElementsByTagName("a"); DisableToolTip(links); var images = document.getElementsByTagName("img"); DisableToolTip(images); };
Shadow wizard
source share