ME!
Moderator
~Remanifesting-Eternal.~
Posts: 778
|
Post by ME! on Oct 20, 2006 14:38:50 GMT
it does it everywhere except the infocenter and last post, because the thread title gets cut off. only compatible with IE< since FF does not suport glow GLOBAL FOOTER TOP <script type="text/javascript"> <!-- // Glow Text or link -Dregond Rahl
var td = document.getElementsByTagName('td'); for(i=0; i<td.length; i++) { if(!location.href.match(/(modify|headers)/)) { if(td[i].innerHTML.match(/\[glow=(.+?),(.+?)\](.+?)\[\/glow\]/gi)) { td[i].innerHTML= td[i].innerHTML.replace(/\[glow=(.+?),(.+?)\](.+?)\[\/glow\]/gi,'<font color='+RegExp.$1+' style="filter:glow(color='+RegExp.$2+', strength=2); height: 1; cursor: hand;">'+RegExp.$3+'</font>'); }else{ td[i].innerHTML= td[i].innerHTML.replace(/\[glow=(.+?),(.+?)\]/gi,''); } } } //--> </script>
you use it like this [glow=COLOR,GLOW]THREAD NAME[/glow] for example [glow=red,white]THREAD NAME[/glow] you can use HEX colors too like "FFFFFF" or "FF0000"
|
|