Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Apr 20, 2006 17:22:52 GMT -5
This code will add the title and a link to the first listed event in the "Events this month" section to the end of the news fader. In order to work, the newsfader must already have at least 1 entry and be enabled and the current users needs to be able to see the calendar.
Created By: Wonder
Main Footer
<script> //Add First Listed Event to News Fader v1.0
//Copyright 12-26-2005 by ~Wonder //May be reposted anywhere as long as this header remains in tact. if("undefined"!=typeof(fContent)) { for(i=0;i<document.links.length;i++) { if(document.links[i].href.match(/ion\=calendarview/)) break; } i<document.links.length?fContent[fContent.length]="Next Event: <a href=\""+document.links[i].href+"\">"+document.links[i].innerHTML+"</a>":""; } </script>
|
|