Difference between revisions of "Team:Purdue/Navpage"

Line 13: Line 13:
 
var ulList;
 
var ulList;
 
}
 
}
letterEntry.prototype.addLink = function(urlName){
+
letterEntry.prototype.addLinkToList = function(urlName.,index){
  this.Url_name.push(urlName);
+
  entryBlocks[index].Url_name.push(urlName);
 
}
 
}
 
var entryBlocks = [];
 
var entryBlocks = [];
Line 40: Line 40:
 
for(i = 0; i<=entryBlocks.length; i++){
 
for(i = 0; i<=entryBlocks.length; i++){
 
     if(entryBlocks[i].letter==(Name_Url.toUpperCase())[0]){
 
     if(entryBlocks[i].letter==(Name_Url.toUpperCase())[0]){
         entryBlocks[i].addLink(Name_Url);
+
         addLinkToList(Name_Url,i);
 
}
 
}
 
     else{
 
     else{

Revision as of 17:45, 13 June 2018

Bootstrap Example