inherit
143665
wildgoosespeeder wildgoosespeeder wildgoosespeeder
0
Jun 14, 2018 5:59:55 GMT -8
wildgoosespeeder
ProBoards V5 be trippin'. I'm disoriented. :P
4,393
August 2009
wildgoosespeeder
|
Post by wildgoosespeeder on Feb 9, 2011 22:55:15 GMT -8
When hovering over a IM client icon with your mouse, it displays "[msn]" or something similar. This simple code aims to fix that. Text is customizable in red. PreviewGlobal Footer (Preferably below all other codes and HTML in the Global Footer) <script language="javascript"> /*IM Client Icons Alt/Title Fix by wildgoosespeeder*/ var fixIMClients = [ ["yim","Yahoo Instant Messenger"], ["aim","AOL Instant Messenger"], ["icq","ICQ"], ["msn","Windows Live Messenger"], ["homepage","Homepage"], ["email","E-Mail"], ["send pm","Send PM"] ]; if(/(calendar|pm|(modify)?pre)?view(profile)?|search2|display/i.test(pb_action)) { var TDs = document.getElementsByTagName("td"); for(i = 0; i < TDs.length; i++) { if(TDs.width == "20%" && TDs.vAlign == "top" && TDs.className.match(/windowbg(2)?/)) { TDsIMGs = TDs.getElementsByTagName("center")[0].getElementsByTagName("img"); for(ii = 0; ii < fixIMClients.length; ii++) { for(iii = 0; iii < TDsIMGs.length; iii++) { if(TDsIMGs[iii].alt == "[" + fixIMClients[ii][0] + "]" || TDsIMGs[iii].title == "[" + fixIMClients[ii][0] + "]") { TDsIMGs[iii].alt = fixIMClients[ii][1]; TDsIMGs[iii].title = fixIMClients[ii][1]; break; } } } } } } </script>
|
|