inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Nov 7, 2005 3:20:31 GMT -8
Global FooterWhat this code does is changes a members display name to an image. Just edit/repeat the bit in red for each member <script type="text/javascript"> <!-- /* image as username */ function userImage(user,image) { var img = document.createElement('img'); img.src = image; img.border = '0'; var a = document.getElementsByTagName('a'); for(i=0; i<a.length; i++) { if(a.item(i).href.match(new RegExp('viewprofile&user='+user+'$'))) a.replaceChild(img.cloneNode(true), a.firstChild); } }
userImage('admin','http://host.com/image.gif'); userImage('username','Image URL'); userImage('username','Image URL');
//--> </script>
|
|