Template:Kyoto/js

From 2014.igem.org

(Difference between revisions)
Line 8: Line 8:
$("div#top-dms").hover(function(){
$("div#top-dms").hover(function(){
-
  $("#top-dms").stop();
+
  $(this).stop();
  $("#top-dms-content").fadeTo(400,0.6);
  $("#top-dms-content").fadeTo(400,0.6);
},function(){
},function(){
-
  $("#top-dms").stop()
+
  $(this).stop()
  $("#top-dms-content").fadeTo(400,1)
  $("#top-dms-content").fadeTo(400,1)
})
})

Revision as of 03:00, 11 September 2014