Team:ETH Zurich/labblog/buttons
From 2014.igem.org
(Difference between revisions)
Line 83: | Line 83: | ||
}); | }); | ||
$("a#insidelink").on("click", function(){ | $("a#insidelink").on("click", function(){ | ||
- | var targetid = $(this).attr(' | + | var targetid = $(this).attr('targetid'); |
- | $("article").show(); | + | $("article#targetid").show(); |
}); | }); | ||
Revision as of 23:29, 7 October 2014