Difference between revisions of "Team:Purdue/Navpage"

Line 116: Line 116:
 
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);
 +
 +
//Special addition to the judging form link
 +
if(entryBlocks[i].a[k].href=="https://igem.org/2018_Judging_Form?team=Purdue"){
 +
entryBlocks[i].a.target= "_blank";
 
}
 
}
 
}
 
}
Line 122: Line 126:
 
document.getElementById("di").appendChild(entryBlocks[i].ulList);
 
document.getElementById("di").appendChild(entryBlocks[i].ulList);
  
//Special addition to the judging form link
+
 
if(entryBlocks[i].a.href=="https://igem.org/2018_Judging_Form?team=Purdue"){
+
 
entryBlocks[i].a.target= "_blank";
+
  
 
}
 
}

Revision as of 18:46, 13 June 2018

Bootstrap Example