Template:Team:TU Delft/frame check

From 2010.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
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("http://2010.igem.org/Team:TU_Delft/test#page="+wgPageName.substring(14));
+
window.location.replace("http://2010.igem.org/Team:TU_Delft#page="+wgPageName.substring(14));
}
}
-
//}
+
}
});
});

Latest revision as of 13:55, 12 October 2010