Team:EPF-Lausanne/Template/SubMenu

From 2012.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 15: Line 15:
</script>
</script>
<div class="sub-menu">
<div class="sub-menu">
-
<ul class='simple-navi'>
+
<div class='simple-navi'>
-
+
<ul>
-
</ul>
+
 +
</ul>
 +
</div>
<div style="clear: both"></div>
<div style="clear: both"></div>
</div>
</div>
Line 23: Line 25:
<script type="text/javascript">
<script type="text/javascript">
if(menus[menu]){
if(menus[menu]){
-
var sub = $(".sub-menu .simple-navi");
+
var sub = $(".sub-menu .simple-navi ul");
sub.append($("<li>").attr("class", "left").append($("<span>")));
sub.append($("<li>").attr("class", "left").append($("<span>")));

Latest revision as of 16:32, 13 September 2012