Difference between revisions of "Team:Purdue/Navpage"

Line 7: Line 7:
 
this.letter=letter;
 
this.letter=letter;
 
var a = [];
 
var a = [];
 
 
var Header = document.createElement("h1");
 
var Header = document.createElement("h1");
 
Header.innerHTML=letter;
 
Header.innerHTML=letter;
 
var Url_name = [];
 
var Url_name = [];
 +
var ulList;
  
 
}
 
}
Line 32: Line 32:
  
  
 +
 +
arrayToList();
 +
//now a tags are made, time to place them in an unordered list
 +
entryBlocks.forEach(atagsInList());
  
  
Line 80: Line 84:
 
}
 
}
  
 +
function atagsInList(obj,Index){
 +
//takes the link tags and adds them to a list
 +
obj.ulList = document.createElement("ul");
  
 +
obj.a.forEach(function(obje,index){
 +
var list_item = document.createElement("li");
 +
list_item.appendChild(obje);
 +
obj.ulList.appendChild(list_item);
 +
});
 +
 +
 +
 +
 +
}
  
  

Revision as of 19:21, 12 June 2018

Bootstrap Example

A

B

C

D

E

F

G

H

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z