inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on May 26, 2010 12:06:34 GMT -8
I kinda rushed this as there is no v5 icon set compatible version. This one is, and has no bugs within it. Changes all buttons (not menu) to text. Global footer! <script type = 'text/javascript'> /* Images to Text By Michael (Wrighty) Do Not Repost, Rip, Claim or Edit */ for(n = 0, i = document.getElementsByTagName('img'); n < i.length; n++) if(i[n].src.match(/(s\d+\.)?images\.proboards\.com/) && i[n].src.match(/(\/button|search2|newpoll)/) && i[n].src.match(/(png|gif)$/) && !i[n].src.match(/_sm/)){ var f = document.createElement('font'); f.className = 'button'; i[n].parentNode.replaceChild(f.appendChild(document.createTextNode(i[n].alt.replace(/(\[|\])/g, ''))), i[n]); n--; } </script>The buttons are given a class of "button" and so can be modified through CSS: <style type = 'text/css'> .button { border: 1px solid #000; color: #FF0000; } </style>This post contains a copy of this code that will allow you stylise each button individually based on the text within the button.
|
|