Difference between revisions of "Team:Purdue/Navpage"

Line 67: Line 67:
 
entryBlocks[i].ulList = document.createElement("ul");
 
entryBlocks[i].ulList = document.createElement("ul");
 
for (k=0; k < len(entryBlocks[i].a);k++){
 
for (k=0; k < len(entryBlocks[i].a);k++){
obj.(function(obje,index){
 
 
list_item = document.createElement("li");
 
list_item = document.createElement("li");
 
list_item.appendChild(entryBlocks[i].a[k]);
 
list_item.appendChild(entryBlocks[i].a[k]);
 
entryBlocks[i].ulList.appendChild(list_item);
 
entryBlocks[i].ulList.appendChild(list_item);
});
+
}
 
document.getElementById("div").appendChild(entryBlocks[i].Header);
 
document.getElementById("div").appendChild(entryBlocks[i].Header);
 
document.getElementById("div").appendChild(entryBlocks[i].ulList);
 
document.getElementById("div").appendChild(entryBlocks[i].ulList);
 +
}
 
}
 
}
  

Revision as of 16:31, 13 June 2018

Bootstrap Example