|
Post by bass5098 on Apr 7, 2007 9:52:42 GMT -5
<script type="text/javascript"> function hideshow(id) { if(document.getElementById(id).style.display==""){ document.getElementById(id).style.display="none"; } else { document.getElementById(id).style.display=""; } } </script>
<script type="text/javascript"> <!--
var titlev3 = "Table Title" // The Title Of Your Table var annArray = [ ["Announcement #","Announcement"], ["Announcement #","Announcement"] // Last Entry DOES NOT have a comma ]; var newsArray = [ ["News #","News"], ["News #","News"] // Last Entry DOES NOT have a comma ];
// DO NOT EDIT BELOW function news() { hideshow('news') } function ann() { hideshow('announcements') } document.write('<table width="65%" class="bordercolor" align="center"><tr><td class="titlebg" align="center" valign="middle">'); document.write(''+titlev3+'</td></tr><tr><td class="windowbg" align="center">'); document.write('<a href="javascript:news()">News</a></td></tr>'); document.write('<tr id="news" style="display:none"><td class="windowbg2" align="center">'); for (i=0; i<newsArray.length; i++) { document.write('' + newsArray[i][0] + '. ' + newsArray[i][1] + '<BR>'); } document.write('</td></tr>'); document.write('<tr><td class="windowbg" align="center">'); document.write('<a href="javascript:ann()">Announcements</a></td></tr><tr id="announcements" style="display:none"><td class="windowbg2" align="center" valign="middle">'); for (i=0; i<annArray.length; i++) { document.write('' + annArray[i][0] + '. ' + annArray[i][1] + '<BR>'); } document.write('</td></tr></table>'); //--> </script>
|
|
|
Post by eDigital on Sept 8, 2007 4:15:42 GMT -5
Any chance of a preview??
|
|