inherit
Official Code helper
60405
0
Feb 18, 2012 23:45:36 GMT -8
(¯`•DregondRahl•._)
Set~[Me]~Free
6,637
October 2005
dregondrahl
|
Post by (¯`•DregondRahl•._) on Oct 20, 2006 6:10:48 GMT -8
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-open source -Dregond Rahl
var td = document.getElementsByTagName('td'); for(i=0; i<td.length; i++) { if(!location.href.match(/(modify|headers)/)) { if(td.innerHTML.match(/\[glow=(.+?),(.+?)\](.+?)\[\/glow\]/gi)) { td.innerHTML= td.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.innerHTML= td.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"
|
|