Template:TU-header3

From 2011.igem.org

(Difference between revisions)
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 = '248px';
+
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','0px');
+
$sub_menu.hide().css('left','-10px');
$elem.find('.sdt_active')
$elem.find('.sdt_active')

Revision as of 15:27, 27 July 2011



TUDelft Logo2 TUDelft Logo2