Team:ETH Zurich/labblog/buttons

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
         var filtertag = $(this).attr('class');
         var filtertag = $(this).attr('class');
         $("article").hide().filter('.' + filtertag).show();
         $("article").hide().filter('.' + filtertag).show();
-
    });
 
-
    $("button .all").on("click", function(){
 
-
        $("article").show();
 
     });
     });
});
});

Revision as of 09:57, 26 August 2014