Team:St Pauls London
From 2013hs.igem.org
(Difference between revisions)
Line 149: | Line 149: | ||
</html> | </html> | ||
+ | <html> | ||
+ | <head> | ||
+ | <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js"></script> | ||
+ | |||
+ | <!-- FIRST BUTTON --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#nav-button-link-first").click(function(){ | ||
+ | $("#first-panel").toggle("fast"); | ||
+ | $("#second-panel").hide("fast"); | ||
+ | $("#third-panel").hide("fast"); | ||
+ | $("#fourth-panel").hide("fast"); | ||
+ | $(this).toggleClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#first-title-link").click(function(){ | ||
+ | $("#first-panel").toggle("fast"); | ||
+ | $("#second-panel").hide("fast"); | ||
+ | $("#third-panel").hide("fast"); | ||
+ | $("#fourth-panel").hide("fast"); | ||
+ | $(this).toggleClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <!-- SECOND BUTTON --> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#nav-button-link-second").click(function(){ | ||
+ | $("#second-panel").toggle("fast"); | ||
+ | $("#first-panel").hide("fast"); | ||
+ | $("#third-panel").hide("fast"); | ||
+ | $("#fourth-panel").hide("fast"); | ||
+ | $(this).toggleClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#second-title-link").click(function(){ | ||
+ | $("#second-panel").toggle("fast"); | ||
+ | $("#first-panel").hide("fast"); | ||
+ | $("#third-panel").hide("fast"); | ||
+ | $("#fourth-panel").hide("fast"); | ||
+ | $(this).toggleClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <!-- THIRD BUTTON --> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#nav-button-link-third").click(function(){ | ||
+ | $("#third-panel").toggle("fast"); | ||
+ | $("#first-panel").hide("fast"); | ||
+ | $("#second-panel").hide("fast"); | ||
+ | $("#fourth-panel").hide("fast"); | ||
+ | $(this).toggleClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#third-title-link").click(function(){ | ||
+ | $("#third-panel").toggle("fast"); | ||
+ | $("#first-panel").hide("fast"); | ||
+ | $("#second-panel").hide("fast"); | ||
+ | $("#fourth-panel").hide("fast"); | ||
+ | $(this).toggleClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <!-- FOURTH BUTTON --> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#nav-button-link-fourth").click(function(){ | ||
+ | $("#fourth-panel").toggle("fast"); | ||
+ | $("#first-panel").hide("fast"); | ||
+ | $("#second-panel").hide("fast"); | ||
+ | $("#third-panel").hide("fast"); | ||
+ | $(this).toggleClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#fourth-title-link").click(function(){ | ||
+ | $("#fourth-panel").toggle("fast"); | ||
+ | $("#first-panel").hide("fast"); | ||
+ | $("#second-panel").hide("fast"); | ||
+ | $("#third-panel").hide("fast"); | ||
+ | $(this).toggleClass("active"); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | </head> | ||
+ | </html> | ||
Revision as of 18:53, 28 March 2013