Difference between revisions of "Template:Groningen"

Line 224: Line 224:
  
 
function postcollapse(){
 
function postcollapse(){
function toggleAll(){
+
function toggleAll(evt){
 +
evt.preventDefault();
 +
 
collapsers.all.forEach(function(act){
 
collapsers.all.forEach(function(act){
+
hideOne(act.h, act.sec);
 
});
 
});
 +
 +
return false;
 
}
 
}
 
 
 
if(collapsers.all.length){
 
if(collapsers.all.length){
 
var wrap = $('#ayoop-wrap'),
 
var wrap = $('#ayoop-wrap'),
btn = $('<a href="#" id="collapse-all"><img src="https://static.igem.org/mediawiki/2016/7/77/T--Groningen--minux.png" title="Collapse all" alt="Collapse all" /></a>');
+
btn = $('<a id="collapse-all"><img src="https://static.igem.org/mediawiki/2016/7/77/T--Groningen--minux.png" title="Collapse all" alt="Collapse all" /></a>');
 
 
 
wrap.prepend(btn);
 
wrap.prepend(btn);

Revision as of 15:51, 17 October 2016

CryptoGE®M
Team
Project
Biology
Computing
Human Practice
Acknowledgements