Team:SEU O China/Template/Style
From 2012.igem.org
(Difference between revisions)
Line 51: | Line 51: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | var srcc=window.location; | ||
+ | srcc=srcc.toString() | ||
+ | start=srcc.indexOf("#"); | ||
+ | end=srcc.length; | ||
+ | document.write(srcc.substring(start,end)); | ||
+ | $(document).ready(function(){ | ||
+ | $('.content').hide(); | ||
+ | var name = $(this).attr('id'); | ||
+ | $(srcc.substring(start,end)).fadeIn(500); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
</head> | </head> | ||
</html> | </html> |
Revision as of 12:33, 25 September 2012