Board Thread:Support Requests - Getting Technical/@comment-77437-20140701180734

I added a CSS and a JS tooltip codes and I'm trying to figure out how to disable the native "title" that text and image links add.

I tried using this code: // Suppress tooltip display for links that have the classname 'suppress' var links = document.getElementsByTagName('a'); for (var i = 0; i < links.length; i++) { if (links[i].className == 'suppress') { links[i]._title = links[i].title; links[i].onmouseover = function { this.title = ''; }       links[i].onmouseout = function { this.title = this._title; }   }}

But it doesn't appear to work.

Template using CSS tooltip

Template using JS tooltip

Common.js 