Team:Linkoping Sweden/menu

From 2014.igem.org

(Difference between revisions)
Line 354: Line 354:
$(document).ready(function(){
$(document).ready(function(){
$('#fbnoticon').mouseover(function(){
$('#fbnoticon').mouseover(function(){
-
   var div=$('#fbapp');
+
   $('#fbapp').fadeIn(100);
-
  div.fadeIn(100);
+
}).mouseout(function(){
}).mouseout(function(){
-
     div.fadeOut(100);
+
     $('#fbapp').fadeOut(100);
});
});
});
});
$(document).ready(function(){
$(document).ready(function(){
-
var div=$('#fbapp');
 
div.mouseover(function(){
div.mouseover(function(){
-
   div.fadeIn(100);
+
   $('#fbapp').fadeIn(100);
}).mouseout(function(){
}).mouseout(function(){
-
     div.fadeOut(100);
+
     $('#fbapp').fadeOut(100);
});
});
});
});
</script>
</script>

Revision as of 08:42, 17 July 2014