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