Difference between revisions of "Team:Purdue/Navpage"

Line 3: Line 3:
 
<head>
 
<head>
 
<script>
 
<script>
function letterEntry(letter){
+
function letterEntry(letter, Header){
 
this.letter=letter;
 
this.letter=letter;
 
var a = [];
 
var a = [];
var Header = document.createElement("h1");
+
this.Header = Header;
Header.innerHTML=letter;
+
this.Header = document.createElement("h1");
 +
this.Header.innerHTML=letter;
 
var Url_name = [];
 
var Url_name = [];
 
var ulList;
 
var ulList;
Line 25: Line 26:
 
var charCode = 65;
 
var charCode = 65;
 
for(i = 0; i<26; i++){
 
for(i = 0; i<26; i++){
     entryBlocks[i]= new letterEntry(String.fromCharCode(charCode+i));
+
     entryBlocks[i]= new letterEntry(String.fromCharCode(charCode+i),"");
 
}
 
}
 
arrayToList();
 
arrayToList();

Revision as of 16:53, 13 June 2018

Bootstrap Example