IE support.

This commit is contained in:
Hyunje Alex Jun
2012-11-10 17:30:09 +09:00
parent 36ae8c4059
commit 1bd0c102db
4 changed files with 7 additions and 6 deletions

View File

@@ -38,6 +38,7 @@
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
opacity: 0;
filter: alpha(opacity = 0);
-webkit-transition: opacity.2s linear;
-moz-transition: opacity .2s linear;
transition: opacity .2s linear;

View File

@@ -118,7 +118,7 @@
e.preventDefault();
});
$(window).bind('mousemove.perfect-scroll', function(e) {
$(document).bind('mousemove.perfect-scroll', function(e) {
if($scrollbar_x.hasClass('in-scrolling')) {
moveBarX(current_left, e.pageX - current_page_x);
updateContentScrollLeft();
@@ -127,7 +127,7 @@
}
});
$(window).bind('mouseup.perfect-scroll', function(e) {
$(document).bind('mouseup.perfect-scroll', function(e) {
if($scrollbar_x.hasClass('in-scrolling')) {
$scrollbar_x.removeClass('in-scrolling');
}
@@ -146,7 +146,7 @@
e.preventDefault();
});
$(window).bind('mousemove.perfect-scroll', function(e) {
$(document).bind('mousemove.perfect-scroll', function(e) {
if($scrollbar_y.hasClass('in-scrolling')) {
moveBarY(current_top, e.pageY - current_page_y);
updateContentScrollTop();
@@ -155,7 +155,7 @@
}
});
$(window).bind('mouseup.perfect-scroll', function(e) {
$(document).bind('mouseup.perfect-scroll', function(e) {
if($scrollbar_y.hasClass('in-scrolling')) {
$scrollbar_y.removeClass('in-scrolling');
}