Team:KIT-Kyoto/Test
From 2014.igem.org
(Difference between revisions)
Line 161: | Line 161: | ||
$(function(){ | $(function(){ | ||
var topimg = function(){ | var topimg = function(){ | ||
- | var w | + | var w = $("#container").width; |
- | + | $(".show img,.hide img").css({width:w}); | |
- | + | ||
- | $(".show,.hide").css({width:w}); | + | |
var _h = $(".show").height(); | var _h = $(".show").height(); | ||
$(".timg").css({height:_h}); | $(".timg").css({height:_h}); |
Revision as of 16:23, 10 October 2014