From 2013.igem.org
(Difference between revisions)
|
|
(74 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | <html>
| |
- | <head>
| |
- | <!--CSS styles: global-->
| |
- | <link rel='stylesheet' type='text/css' href="https://2012.igem.org/Team:Calgary/static/basicpageglobal.css?action=raw&ctype=text/css" />
| |
| | | |
- | <script>
| |
- | jQuery(document).ready(function($){
| |
- |
| |
- | //eliminate jsnotice
| |
- | $('#jsnotice').hide();
| |
- |
| |
- |
| |
- | /*epic box info functionality*/
| |
- | //small icons
| |
- | $('#boximgcontainer .iconbox').hover(
| |
- | function(){
| |
- | var className = $(this).attr('class').split(" ");
| |
- | var box = className[0];
| |
- | clearinfo();
| |
- | $('#boxinfo div.' + box).show();
| |
- | },
| |
- | function(){
| |
- | clearinfo();
| |
- | $('#boxinfo_default').show();
| |
- | });
| |
- | //large icons
| |
- | $('.imgbox').hover(
| |
- | function(){
| |
- | var id = $(this).parent().parent().attr('id');
| |
- | clearinfo();
| |
- | $('#boxinfo div.' + id).show();
| |
- | },
| |
- | function(){
| |
- | clearinfo();
| |
- | $('#boxinfo_default').show();
| |
- | });
| |
- |
| |
- | /*epic box FRED/OSCAR blank box disappearance*/
| |
- | $('#bluebox').hover(
| |
- | function(){
| |
- | $('.gblank').hide();
| |
- | $('.bblank').hide();
| |
- | },
| |
- | function(){
| |
- | $('.gblank').show();
| |
- | $('.bblank').show();
| |
- | });
| |
- |
| |
- | $('#greenbox').hover(
| |
- | function(){
| |
- | $('.gblank').hide();
| |
- | $('.bblank').hide();
| |
- | },
| |
- | function(){
| |
- | $('.gblank').show();
| |
- | $('.bblank').show();
| |
- | });
| |
- |
| |
- | });
| |
- |
| |
- | </script>
| |
- | </head>
| |
- |
| |
- | <body>
| |
- | </body>
| |
- | </html>
| |
Latest revision as of 12:32, 19 June 2013