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