Template:Team:KIT-Kyoto/mobile
From 2014.igem.org
(Difference between revisions)
Line 282: | Line 282: | ||
</style> | </style> | ||
- | <script type="javascript" | + | <script type="text/javascript"> |
+ | var mt = function(){ | ||
+ | var tw = $('.main-contents').width(); | ||
+ | $('.m_table').css({width:tw}); | ||
+ | } | ||
+ | $(function(){ | ||
+ | mt(); | ||
+ | $(window).resize(mt); | ||
+ | }); | ||
</head> | </head> |
Revision as of 14:54, 11 October 2014