Template:MissouriMiners2012

From 2012.igem.org

(Difference between revisions)
Line 51: Line 51:
#menu ul, #menu li { list-style: none; }
#menu ul, #menu li { list-style: none; }
#menu > ul > li { float: left; margin: 16px 38px 0 0; padding: 0 0 3px; }
#menu > ul > li { float: left; margin: 16px 38px 0 0; padding: 0 0 3px; }
-
#menu li { position: relative; }
+
#menu > ul > li { position: relative; }
-
#menu li ul { display: none; position: absolute; top: 1em; left: 0; }
+
#menu > ul > li > ul { display: none; width: 500px; position: absolute; top: 1em; left: 0; background-color: #085706; margin-top: 6px; padding: 0px 0px 10px 10px;}
-
#menu li:hover ul { display: block; background-color: #085706; margin-top: 6px; padding: 0px 0px 10px 10px; }
+
#menu > ul > li:hover > ul { display: block; }
Line 101: Line 101:
// Scripting.
// Scripting.
-
//$('#menu ul').superfish();
+
$('#menu ul').supersubs({minWidth:12,maxWidth:50; extraWidth:1}).superfish();
             });
             });
         </script>
         </script>

Revision as of 00:24, 29 September 2012