Team:UCL-London/Test

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
<!--CSS styles: global-->
<!--CSS styles: global-->
<link rel='stylesheet' type='text/css' href="https://2012.igem.org/Team:Calgary/static/basicpageglobal.css?action=raw&ctype=text/css" />
<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>
</head>

Revision as of 15:57, 13 June 2013