inherit
Handsome Devil
20992
0
Oct 26, 2012 20:34:21 GMT -8
ⓦ৹₪deⓡ
No animals were harmed in the feeding of this human.
925
March 2004
chickenturkeybacon
|
Post by ⓦ৹₪deⓡ on Oct 30, 2005 22:59:32 GMT -8
If a member or members have a birthday today, this code will add a Happy Birthday message to them to your News Fader. It will appear as the last item in your News Fader. Please do NOT PM me for support or requests, that's what the coding boards are for. Enjoy. ~Wonder
Main Footer<script> //Add Happy Birthday Message to News Fader v1.0
//Copyright 10-31-2005 by ~Wonder //May be reposted anywhere as long as this header remains in tact. if("undefined"!=typeof(fContent)) { for(i=document.images.length-1;i>0;i--) { if(document.images[i].alt && document.images[i].alt=="birthdays"){break;} } if(i!=0) { a=document.images[i].parentNode.parentNode.getElementsByTagName("a"); bdays=new Array(); for(i=0;i<a.length;i++) { a[i].href.match(/action\=viewprofile/)?bdays[bdays.length]=a[i].innerHTML:""; } if(bdays.length>1){bdays[bdays.length-1]="and "+bdays[bdays.length-1];} if(bdays.length>2){bdays=bdays.join(", ");} else {bdays=bdays.join(" ");} bdays.length>0?fContent[fContent.length]="Happy Birthday to "+bdays:""; } } </script>
|
|