Permalink
Browse files

use fading animation

  • Loading branch information...
1 parent fd0c211 commit 75d34564e1fdcadc8dcf61679048a7cf144ecaf6 @digitaltom digitaltom committed Mar 14, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/hackweek.js
View
@@ -150,12 +150,12 @@ $(function () {
/* where page actions */
$(".location").on('mouseover click', function(event) {
- $(".location-zoom").hide("scale")
- $("#" + $(this).attr('id') + "-zoom").show("scale")
+ $(".location-zoom").fadeOut()
+ $("#" + $(this).attr('id') + "-zoom").fadeIn()
})
$(".location-zoom").on('mouseleave', function(event) {
- $(this).hide("scale")
+ $(".location-zoom").fadeOut()
})

0 comments on commit 75d3456

Please sign in to comment.