Difference between revisions of "Team:Purdue/Navpage"

Line 4: Line 4:
 
<script>
 
<script>
 
$(document).ready(() => {
 
$(document).ready(() => {
function letterEntry(letter, Header){
+
function letterEntry(letter, Header,Url_name){
 
this.letter=letter;
 
this.letter=letter;
 
var a = [];
 
var a = [];
Line 10: Line 10:
 
this.Header = document.createElement("h1");
 
this.Header = document.createElement("h1");
 
this.Header.innerHTML=letter;
 
this.Header.innerHTML=letter;
var Url_name = [];
+
this.Url_name=Url_name;
 +
this.Url_name = [];
 
var ulList;
 
var ulList;
 
}
 
}
Line 27: Line 28:
 
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),"","");
 
}
 
}
 
addLink("Home Page,https://2018.igem.org/Team:Purdue");
 
addLink("Home Page,https://2018.igem.org/Team:Purdue");

Revision as of 17:47, 13 June 2018

Bootstrap Example