Template:Team:TU Delft/frame check

From 2010.igem.org

(Difference between revisions)
Line 2: Line 2:
<script>
<script>
$(function() {
$(function() {
-
//var TU_Delft_Members = new Array("Mvoges","Ravandervalk","Ebrinkman","Ptmvanboheemen","Jcnossen","Lbergwerff","Nadinebongaerts","Hugo_87","Kschipper"); // All team members
+
var TU_Delft_Members = new Array("Mvoges","Ravandervalk","Ebrinkman","Ptmvanboheemen","Jcnossen","Lbergwerff","Nadinebongaerts","Hugo_87","Kschipper"); // All team members
-
//if(NotInArray(wgUserName,TU_Delft_Members)) {  
+
if(NotInArray(wgUserName,TU_Delft_Members)) {  
if(typeof in_frame_test == 'undefined') {
if(typeof in_frame_test == 'undefined') {
window.location.replace("https://2010.igem.org/Team:TU_Delft/test#page="+wgPageName.substring(14));
window.location.replace("https://2010.igem.org/Team:TU_Delft/test#page="+wgPageName.substring(14));
}
}
-
//}
+
}
});
});

Revision as of 12:41, 14 September 2010