Skip to content

Instantly share code, notes, and snippets.

@ituki
Created January 16, 2015 03:19
Show Gist options
  • Save ituki/af4c5c78aea107f773d1 to your computer and use it in GitHub Desktop.
Save ituki/af4c5c78aea107f773d1 to your computer and use it in GitHub Desktop.
ロールオーバーや先読みでgifアニメがおかしくなる件 ref: http://qiita.com/ituki_b/items/a8f211338e3d7c36bb82
ロールオーバー時画像パス
ロールオーバー時画像パス+ '?' + (new Date).getTime()
ロールオーバー時画像パス+ '?' + (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