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 = $(window).width;
+
var w = $("#container").width;
-
var side = $("#container").css("margin-left");
+
$(".show img,.hide img").css({width:w});
-
w -= side;
+
-
$(".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


kit