SubDevo
Administrator
Creator of LSD...
Posts: 109
|
Post by SubDevo on Aug 29, 2009 14:14:24 GMT -5
Profile Background Image (Global) by SubDevoTested in IE, FF, Opera and Safari Allows you to use a custom background image for the "View Profile" page. This image will be seen by all who view any profile. And all users will see the same background image. Hence the word "Global" in the title! Enjoy!!! SubDevo Place the URL to your desired profile background image in this line: var pImg="URL TO IMAGE"; // URL to Global Background Image.Location: Global Footer<script type="text/Javascript"> <!-- /* Profile Background Image (Global) by SubDevo */ /* Global Footer - Please leave this header intact. Do not repost. */ /* [url]http://interoceandesigns.proboards.com[/url] or [url]http://lsdp.proboards.com[/url] */
var pImg="URL TO IMAGE"; // URL to Global Background Image.
var td=document.getElementsByTagName("td"); if(location.href.match(/=viewprof/i)){ for(x=0;x<td.length;x++){ if(td[x].width=="20%"&&td[x].innerHTML.match(/=viewprofile/i)){break;} } td[x].nextSibling.firstChild.firstChild.style.backgroundImage="url("+pImg+")"; } // --> </script>
|
|