MadMax
New Member
ProBoard Codes & GFX
Posts: 28
inherit
125404
0
Apr 29, 2009 1:02:23 GMT -8
MadMax
ProBoard Codes & GFX
28
May 2008
wolverines
|
Post by MadMax on May 29, 2008 23:54:48 GMT -8
This code will allow you to use a different image for the Active Users icon in the Info Center, rather than having the same image as the Users Online icon. I thought it was kinda' stupid to have the same image for both icons......LOL Anyway, just add the URL to your new image in the top variable. Enjoy the script! Preview MAIN FOOTER <script type="text/javascript"> <!-- /* Change Active Users Icon Image by MadMax */ /* Please leave this header intact. Do not repost. */ /* [url]http://proboardcoding.proboards58.com[/url] */
var newIcon="URL to Image"; // New Icon Image URL.
var img=document.getElementsByTagName("img"); if(location.href.match(/(cgi\??(#.+)?|com\/?|logout|sread)$/)){ for(x=img.length-1;x>=0;x--){ if(img[x].alt.match(/online/i)){ img[x].src=newIcon; break; } } } //--> </script>
|
|