Created
January 16, 2015 03:19
-
-
Save ituki/af4c5c78aea107f773d1 to your computer and use it in GitHub Desktop.
ロールオーバーや先読みでgifアニメがおかしくなる件 ref: http://qiita.com/ituki_b/items/a8f211338e3d7c36bb82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ロールオーバー時画像パス | |
↓ | |
ロールオーバー時画像パス+ '?' + (new Date).getTime() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ロールオーバー時画像パス+ '?' + (new Date).getTime() | |
↓ | |
var is_ie11 = !!window.navigator.pointerEnabled; //IE11かどうか | |
if(is_ie11) { //IE11のみ | |
ロールオーバー時画像パス+ '?' + (new Date).getTime() | |
} else { //それ以外 | |
ロールオーバー時画像パス | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment