Team:Heidelberg/Templates/Footer-Nav
From 2013.igem.org
(Difference between revisions)
m |
m |
||
Line 159: | Line 159: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function() { | $(function() { | ||
- | var items = $('.item'); | + | /*var items = $('.item'); |
for (var i = 0; i < items.length; ++i) { | for (var i = 0; i < items.length; ++i) { | ||
var dd = $(items[i]).find('ul'); | var dd = $(items[i]).find('ul'); | ||
Line 165: | Line 165: | ||
dd.css("left", ($(items[i]).innerWidth() - dd.outerWidth()) * 0.5); | dd.css("left", ($(items[i]).innerWidth() - dd.outerWidth()) * 0.5); | ||
} | } | ||
- | } | + | }*/ |
$('#nav > div').hover( | $('#nav > div').hover( | ||
function () { | function () { |
Latest revision as of 00:36, 29 October 2013