Template:Team:Leeds DropdownMenu

From 2013.igem.org

(Difference between revisions)
m
m
Line 1: Line 1:
<html>
<html>
-
<ul>
+
<ul><li><a href="#"><span>Link1</span></a></li><li><a href="#"><span>Link2</span></a><ul><li><a href="#"><span>Link2.1</span></a></li><li><a href="#"><span>Link2.2</span></a></li></ul></li><li><a href="#"><span>Link3</span></a><ul><li><a href="#"><span>Link3.1</span></a></li></ul></li><li><a href="#"><span>Link4</span></a></li></ul>
-
  <li><a href="#"><span>Link1</span></a></li>
+
-
  <li><a href="#"><span>Link2</span></a>
+
-
    <ul>
+
-
        <li><a href="#"><span>Link2.1</span></a></li>
+
-
        <li><a href="#"><span>Link2.2</span></a></li>
+
-
    </ul>
+
-
  </li>
+
-
  <li><a href="#"><span>Link3</span></a>
+
-
    <ul>
+
-
        <li><a href="#"><span>Link3.1</span></a></li>
+
-
    </ul>
+
-
  </li>
+
-
  <li><a href="#"><span>Link4</span></a></li>
+
-
</ul>
+
<script>
<script>
-
 
$( function()
$( function()
{
{
$( '#dropdown li:has(ul)' ).doubleTapToGo();
$( '#dropdown li:has(ul)' ).doubleTapToGo();
});
});
-
 
</script>
</script>
</html>
</html>

Revision as of 10:37, 4 October 2013