Changes

Chapters

648 bytes added, 10:31, 15 June 2011
no edit summary
<script>
var chapters = new Array();
function chapter(chapterName, foundingDate, location, url) {
this.ChapterName = chapterName;
this.FoundingDate = parseInt(parseFloat(foundingDate));
this.Location = location;
this.URL = url;
}
function drawArray(form) {
var v = "<table style='width:100%;'>";
for (var i=0; i<chapters.length; i++) {
v += "<tr><td><a href='http://wiki.kappakappagamma.org/index.php/" + chapters[i].URL ChapterName + "'>" + chapters[i].ChapterName + "</a></td><td>" + chapters[i].FoundingDate + "</td><td>" + chapters[i].Location + "<br>";
}
document.getElementById('list').innerHTML = v + "</table>"
window.onload = function(){
chapters[chapters.length++] = new chapter("Alpha Deuteron", 1870, "Monmouth College, Monmouth, IL", "http://wiki.kappakappagamma.org/index.php/Alpha");chapters[chapters.length++] = new chapter("Beta", 1871, "St. Mary's School, Knoxville, IL", "http://wiki.kappakappagamma.org/index.php/Beta");chapters[chapters.length++] = new chapter("Gamma", 1872, "Smithson College, Logansport, IN", "http://wiki.kappakappagamma.org/index.php/Gamma");chapters[chapters.length++] = new chapter("Delta", 1872, "Indiana University, Bloomington, IN", "http://wiki.kappakappagamma.org/index.php/Delta");chapters[chapters.length++] = new chapter("Epsilon", 1873, "Illinios Wesleyan University, Bloomington, IL", "http://wiki.kappakappagamma.org/index.php/Epsilon");chapters[chapters.length++] = new chapter("Zeta", 1874, "Rockford Female Seminary, Rockford, IL");chapters[chapters.length++] = new chapter("Eta", 1875, "http://wikiWisconsin, University of, Columbia, MO");chapters[chapters.kappakappagammalength++] = new chapter("Theta", 1875, "Missouri, University of, Columbia, MO");chapters[chapters.org/indexlength++] = new chapter("Iota", 1875, "DePauw University, Greencastle, IN");chapters[chapters.length++] = new chapter("Kappa", 1881, "Hillsdale College, Hillsdale, MI");chapters[chapters.php/Zetalength++] = new chapter("Lambda", 1877, "Akron, University of, Akron, OH");chapters[chapters.length++] = new chapter("Mu", 1878, "Butler University, Indianapolis, IN");chapters[chapters.length++] = new chapter("Nu", 1879, "Franklin College, Franklin, IN");chapters[chapters.length++] = new chapter("Xi", 1882, "Adrian College, Adrian, MI");chapters[chapters.length++] = new chapter("Omicron", 1880, "Simpson College, Indianola, IA");chapters[chapters.length++] = new chapter("Pi", 1880, "California, U. of, Berkeley, Berkeley, CA");
drawArray();