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

(Undo revision 194945 by Mikk936a (talk))
Line 43: Line 43:
 
// function til fill with links for pictures.
 
// function til fill with links for pictures.
 
var pick_picture = function(sub_name){
 
var pick_picture = function(sub_name){
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')
  
} 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')
  
} 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')
  
} 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')
  
} 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')
  
} 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')
  
}
+
} else{
 +
return('https://static.igem.org/mediawiki/2016/0/08/DTU-Denmark-Logo-150x80.png')
 +
 
 +
}  
 
}
 
}
  

Revision as of 08:05, 13 October 2016

Tails for main menue points