User:Supacalafrglstic
From 2010.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | <script type="text/javascript" | + | <script type="text/javascript"> |
- | + | $(document).ready(function(){ | |
- | + | $("dd:not(:first)").hide(); | |
- | </script> | + | $("dt a").click(function(){ |
+ | $("dd:visible").slideUp("slow"); | ||
+ | $(this).parent().next().slideDown("slow"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <style> | ||
+ | dl { width: 300px; } | ||
+ | dl,dd { margin: 0; } | ||
+ | dt a { color: #FFF; } | ||
+ | dd a { color: #000; } | ||
+ | ul { list-style: none; padding: 5px; } | ||
+ | </style> | ||
+ | </head> | ||
- | |||
- | + | <body> | |
- | </ | + | <dl> |
- | </ | + | <dt><a href="/">First</a></dt> |
+ | <dd> | ||
+ | <ul> | ||
+ | <li><a href="/src">Download</a></li> | ||
+ | <li><a href="/docs/">Documentation</a></li> | ||
+ | </ul> | ||
+ | </dd> | ||
+ | <dt><a href="/discuss/">Community</a></dt> | ||
+ | <dd> | ||
+ | <ul> | ||
+ | <li><a href="/discuss/">Mailing List</a></li> | ||
+ | <li><a href="/tutorials/">Tutorials</a></li> | ||
+ | </ul> | ||
+ | </dd> | ||
+ | </dl> | ||
- | |||
- | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 03:51, 23 July 2010