Template:TU-header3
From 2011.igem.org
(Difference between revisions)
K.warringa (Talk | contribs) |
K.warringa (Talk | contribs) |
||
Line 239: | Line 239: | ||
var $sub_menu = $elem.find('.sdt_box'); | var $sub_menu = $elem.find('.sdt_box'); | ||
if($sub_menu.length){ | if($sub_menu.length){ | ||
- | var left = ' | + | var left = '124px'; |
if($elem.parent().children().length == $elem.index()+1) | if($elem.parent().children().length == $elem.index()+1) | ||
left = '-124px'; | left = '-124px'; | ||
Line 249: | Line 249: | ||
var $sub_menu = $elem.find('.sdt_box'); | var $sub_menu = $elem.find('.sdt_box'); | ||
if($sub_menu.length) | if($sub_menu.length) | ||
- | $sub_menu.hide().css('left',' | + | $sub_menu.hide().css('left','-10px'); |
$elem.find('.sdt_active') | $elem.find('.sdt_active') |
Revision as of 15:27, 27 July 2011