Team:UNITS Trieste/Template:Header

From 2011.igem.org

(Difference between revisions)
Line 16: Line 16:
           var linkm = objValue.firstChild;
           var linkm = objValue.firstChild;
           if(linkm.nodeName=="STRONG") linkm = $(location).attr('href');
           if(linkm.nodeName=="STRONG") linkm = $(location).attr('href');
-
           destination.append($( "<span class=\"submenu-figlio"+intIndex+"\" onclick=\"$(location).attr('href','"+linkm+"');\" onmouseover=\"$(this).animate({'paddingTop':'80px'},'slow');\" onmouseout=\"$(this).animate({'paddingTop':'0px'},'fast');\" >" + objValue.firstChild.innerHTML + "</span>" ));
+
           destination.append($( "<span class=\"submenu_figlio"+intIndex+"\" onclick=\"$(location).attr('href','"+linkm+"');\" onmouseover=\"$(this).animate({'paddingTop':'80px'},'slow');\" onmouseout=\"$(this).animate({'paddingTop':'0px'},'fast');\" >" + objValue.firstChild.innerHTML + "</span>" ));
         });
         });
               $('#submenu').css('display','block');
               $('#submenu').css('display','block');

Revision as of 20:21, 6 September 2011