|
Post by Sm0rt on Apr 19, 2007 21:40:31 GMT
This code adds all your events this month to the news fader, as a link to your event.
<script language="JavaScript"> <!-- // Addy all eventsy toity the newsy fadery by Ty // Keepith the headerity in tactity var news = new Array("","") if (!location.href.match(/action/)) { var aetd = document.getElementsByTagName('td') for (i=0; i<aetd.length; i++) { if (aetd[i].innerHTML.match('Events This Month') && aetd[i].className=='catbg' && aetd[i+4].innerHTML.match('Users Online')) { var news = aetd[i+2].innerHTML.split(', '); } } if (navigator.appName.match('Microsoft')) { news[0] = news[0].split(/=1>/i)[1] } if (navigator.appName.match('Netscape')) { news[0] = news[0].split(/="1">/i)[1] } var tnum = fContent.length for (t=0; t<news.length; t++){ if (news[t]){ fContent[tnum++] = news[t] } } } // --> </script>
|
|