Team:UCLondon/Templates/Team-Style

From 2012e.igem.org

(Difference between revisions)
Line 81: Line 81:
<script>
<script>
-
$(.team li’).click( function(event){
+
 
-
$(‘#shadow’)
+
$('.team li').click(function() {
-
.css(“background”,”#000″)
+
 
 +
$(‘#shadow’).css(“background”,”#000″)
.css(“position”,”absolute”)
.css(“position”,”absolute”)
.css(“z-index”,”9999″)
.css(“z-index”,”9999″)
Line 89: Line 90:
.css(“height”,($(‘body’).height() + 50) )
.css(“height”,($(‘body’).height() + 50) )
.css(“width”,$(‘body’).width());
.css(“width”,$(‘body’).width());
 +
 +
  $('#shaddow').toggle('slow', function() { 
 +
  });
});
});
-
$(‘#shadow’).toggle(function(){
+
 
-
$(‘#shadow’).animate({
+
-
opacity: “.7″
+
-
}, 1000)
+
-
)};
+
</script>
</script>
</html>
</html>

Revision as of 04:44, 17 September 2012