User:Benjamin Miller

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Line 22: Line 22:
       $('#side3').mouseleave(function() {
       $('#side3').mouseleave(function() {
       $('#side3').stop().animate({backgroundPosition: '-250px 0px'}, 1000);
       $('#side3').stop().animate({backgroundPosition: '-250px 0px'}, 1000);
 +
      });
 +
$('#menu').mouseover(function() {
 +
      $('#headover').stop().animate({backgroundPosition: '0px 0px'}, 1000);
 +
      });
 +
      $('#menu').mouseleave(function() {
 +
      $('#headover').stop().animate({backgroundPosition: '0px 100px'}, 1000);
       });
       });
     });
     });
Line 53: Line 59:
   left: 100px;
   left: 100px;
   background-image: url('http://openwetware.org/images/5/54/Imperialigemheadone.jpg'); }
   background-image: url('http://openwetware.org/images/5/54/Imperialigemheadone.jpg'); }
 +
 +
#headover {
 +
  width: 800px;
 +
  height:150px;
 +
  position: relative;
 +
  top: -300px;
 +
  left: 100px;
 +
  background: url(http://openwetware.org/images/d/d8/Imperialigemheadoverone.png) 0px 100px no-repeat; }
 +
   #side1 {
   #side1 {
     width: 250px;
     width: 250px;
Line 81: Line 96:
   </div>
   </div>
   <div id='menu'>
   <div id='menu'>
-
 
   </div>
   </div>
   <div id='headpic'>
   <div id='headpic'>
 +
  </div>
 +
  <div id='headover'>
   </div>
   </div>
   <div id='side1'>
   <div id='side1'>

Revision as of 10:06, 17 September 2010

Imperial College London iGEM 2010 CSynBI
















Personal tools