Difference between revisions of "Template:Team:DTU-Denmark/Submenue tiles.html"

Line 45: Line 45:
 
if( sub_name = "Description"){
 
if( sub_name = "Description"){
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
+
console.log("1")
 
} else if(sub_name = "Toolbox"){
 
} else if(sub_name = "Toolbox"){
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
+
console.log("2")
 
} else if(sub_name = "Acievements"){
 
} else if(sub_name = "Acievements"){
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
+
console.log("3")
 
} else if(sub_name = "Safety"){
 
} else if(sub_name = "Safety"){
 
return('https://static.igem.org/mediawiki/2016/6/62/T--DTU-Denmark--safety_tile.jpg')
 
return('https://static.igem.org/mediawiki/2016/6/62/T--DTU-Denmark--safety_tile.jpg')
 
+
console.log("4")
 
} else if(sub_name = "Parts"){
 
} else if(sub_name = "Parts"){
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
+
console.log("5")
 
} else if(sub_name = "Toolbox"){
 
} else if(sub_name = "Toolbox"){
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 
+
console.log("6")
 
}
 
}
 
}
 
}

Revision as of 11:20, 10 October 2016

Tails for main menue points