Difference between revisions of "Chapters"

From Kappapedia
Jump to: navigation, search
Line 52: Line 52:
 
chapters[chapters.length++] = new chapter("Beta Iota", 1893, "Swarthmore College, Swarthmore, PA");
 
chapters[chapters.length++] = new chapter("Beta Iota", 1893, "Swarthmore College, Swarthmore, PA");
 
chapters[chapters.length++] = new chapter("Beta Kappa", 1916, "Idaho, University of, Moscow, ID");
 
chapters[chapters.length++] = new chapter("Beta Kappa", 1916, "Idaho, University of, Moscow, ID");
 +
chapters[chapters.length++] = new chapter("Beta Lambda", 1899, "Illinois, University of, Urbana, IL");
 +
chapters[chapters.length++] = new chapter("Beta Mu", 1901, "Colorado, University of, Boulder, CO");
 +
chapters[chapters.length++] = new chapter("Beta Nu", 1888, "Ohio State University, Columbus, OH");
 +
chapters[chapters.length++] = new chapter("Beta Xi", 1902, "Texas, University of, Austin, TX");
 +
chapters[chapters.length++] = new chapter("Beta Omicron", 1904, "Tulane University, New Orleans, LA");
 +
chapters[chapters.length++] = new chapter("Beta Pi", 1905, "Washington, University of, Seattle, WA");
 +
chapters[chapters.length++] = new chapter("Beta Rho", 1885, "Cincinnati, University of, Cincinnati, OH");
 +
chapters[chapters.length++] = new chapter("Beta Sigma", 1905, "Adelphi College, Garden City, NY");
 +
chapters[chapters.length++] = new chapter("Beta Tau", 1883, "Syracuse University, Syracuse, NY");
 +
chapters[chapters.length++] = new chapter("Beta Upsilon", 1906, "West Virginia University, Morgantown, WV");
 +
chapters[chapters.length++] = new chapter("Beta Phi", 1909, "Montana, University of, Missoula, MT");
 
drawArray();
 
drawArray();
  

Revision as of 12:37, 16 June 2011

List of Kappa Kappa Gamma chapters founded in 1870 to present date:

<html> <script> var chapters = new Array(); function chapter(chapterName, foundingDate, location) { this.ChapterName = chapterName; this.FoundingDate = parseInt(parseFloat(foundingDate)); this.Location = location; } function drawArray(form) {

var v = ""; for (var i=0; i<chapters.length; i++) { v += "
<a href='http://wiki.kappakappagamma.org/index.php/" + chapters[i].ChapterName + "'>" + chapters[i].ChapterName + "</a>" + chapters[i].FoundingDate + "" + chapters[i].Location + "
";

}

document.getElementById('list').innerHTML = v + "
"

} window.onload = function(){

chapters[chapters.length++] = new chapter("Alpha", 1870, "Monmouth College, Monmouth, IL"); chapters[chapters.length++] = new chapter("Beta", 1871, "St. Mary's School, Knoxville, IL"); chapters[chapters.length++] = new chapter("Gamma", 1872, "Smithson College, Logansport, IN"); chapters[chapters.length++] = new chapter("Delta", 1872, "Indiana University, Bloomington, IN"); chapters[chapters.length++] = new chapter("Epsilon", 1873, "Illinios Wesleyan University, Bloomington, IL"); chapters[chapters.length++] = new chapter("Zeta", 1874, "Rockford Female Seminary, Rockford, IL"); chapters[chapters.length++] = new chapter("Eta", 1875, "Wisconsin, University of, Columbia, MO"); chapters[chapters.length++] = new chapter("Theta", 1875, "Missouri, University of, Columbia, MO"); chapters[chapters.length++] = new chapter("Iota", 1875, "DePauw University, Greencastle, IN"); chapters[chapters.length++] = new chapter("Kappa", 1881, "Hillsdale College, Hillsdale, MI"); chapters[chapters.length++] = 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"); chapters[chapters.length++] = new chapter("Rho", 1880, "Ohio Wesleyan University, Delaware, OH"); chapters[chapters.length++] = new chapter("Sigma", 1884, "Nebraska, University of, Lincoln, NE"); chapters[chapters.length++] = new chapter("Tau", 1881, "Lasell Seminary, Auburndale, MA"); chapters[chapters.length++] = new chapter("Upsilon", 1882, "Northwestern University, Evanston, IL"); chapters[chapters.length++] = new chapter("Phi", 1882, "Boston University, Boston, MA"); chapters[chapters.length++] = new chapter("Chi", 1880, "Minnesota, University of, Minneapolis, MN"); chapters[chapters.length++] = new chapter("Psi", 1883, "Cornell University, Ithaca, NY"); chapters[chapters.length++] = new chapter("Omega", 1883, "Kansas, University of, Lawrence, KS"); chapters[chapters.length++] = new chapter("Beta Alpha", 1890, "Pennsylvania, University of, Philadelphia, PA"); chapters[chapters.length++] = new chapter("Beta Beta", 1881, "St. Lawrence University, Canton, NY"); chapters[chapters.length++] = new chapter("Beta Gamma", 1876, "Wooster College, Wooster, OH"); chapters[chapters.length++] = new chapter("Beta Delta", 1890, "Michigan, University of, Ann Arbor, MI"); chapters[chapters.length++] = new chapter("Beta Epsilon", 1891, "Barnard College, New York, NY"); chapters[chapters.length++] = new chapter("Beta Zeta", 1882, "Iowa, University of, Iowa City, IA"); chapters[chapters.length++] = new chapter("Beta Eta", 1892, "Stanford University, Stanford, CA"); chapters[chapters.length++] = new chapter("Beta Theta", 1914, "Oklahoma, University of, Norman, OK"); chapters[chapters.length++] = new chapter("Beta Iota", 1893, "Swarthmore College, Swarthmore, PA"); chapters[chapters.length++] = new chapter("Beta Kappa", 1916, "Idaho, University of, Moscow, ID"); chapters[chapters.length++] = new chapter("Beta Lambda", 1899, "Illinois, University of, Urbana, IL"); chapters[chapters.length++] = new chapter("Beta Mu", 1901, "Colorado, University of, Boulder, CO"); chapters[chapters.length++] = new chapter("Beta Nu", 1888, "Ohio State University, Columbus, OH"); chapters[chapters.length++] = new chapter("Beta Xi", 1902, "Texas, University of, Austin, TX"); chapters[chapters.length++] = new chapter("Beta Omicron", 1904, "Tulane University, New Orleans, LA"); chapters[chapters.length++] = new chapter("Beta Pi", 1905, "Washington, University of, Seattle, WA"); chapters[chapters.length++] = new chapter("Beta Rho", 1885, "Cincinnati, University of, Cincinnati, OH"); chapters[chapters.length++] = new chapter("Beta Sigma", 1905, "Adelphi College, Garden City, NY"); chapters[chapters.length++] = new chapter("Beta Tau", 1883, "Syracuse University, Syracuse, NY"); chapters[chapters.length++] = new chapter("Beta Upsilon", 1906, "West Virginia University, Morgantown, WV"); chapters[chapters.length++] = new chapter("Beta Phi", 1909, "Montana, University of, Missoula, MT"); drawArray();

}

function sortByChapterName(a, b) { var x = a.ChapterName.toLowerCase(); var y = b.ChapterName.toLowerCase(); return ((x < y) ? -1 : ((x > y) ? 1 : 0)); } function sortByLocation(a, b) { var x = a.Location.toLowerCase(); var y = b.Location.toLowerCase(); return ((x < y) ? -1 : ((x > y) ? 1 : 0)); } function sortByLastNameThenFirst(a, b) { var x = a.LastName.toLowerCase(); var y = b.LastName.toLowerCase(); return ((x < y) ? -1 : ((x > y) ? 1 : sortByFirstName(a, b))); } function sortByFoundingDate(a, b) { var x = a.FoundingDate; var y = b.FoundingDate; return ((x < y) ? -1 : ((x > y) ? 1 : 0)); } function sortArray(form, column) { if (chapters.length == 0) { alert("Please add one or more people before sorting!"); return false; } switch (column) { case 1 : chapters.sort(sortByChapterName); break; case 2 : chapters.sort(sortByFoundingDate); break; case 3 : chapters.sort(sortByLocation); break; case 4 : chapters.sort(sortByLastNameThenFirst); break; } drawArray(form); } // --> </script>

Chapter Name Founding Date Location

</html>


test

Alpha Deuteron
Beta
Gamma
Delta
Epsilon
Zeta
Eta
Iota
Theta
Beta Gamma
Lambda
Mu
Nu
Omicron Deuteron
Chi
Pi Deuteron
Rho Deuteron
Tau
Kappa
Beta Beta Deuteron
Upsilon
Beta Zeta
Phi
Xi
Beta Tau
Psi Deuteron
Omega
Sigma
Beta Rho Deuteron
Gamma Rho
Beta Nu
Beta Alpha
Beta Delta
Beta Epsilon
Beta Eta Deuteron
Beta Iota
Beta Lambda
Beta Mu
Beta Xi
{{#html:Template:Page1|param1=value1}}