jquery-stickytabs
jquery-stickytabs copied to clipboard
var options = { backToTop: true };
Hi,
This is a great addition. It seems to work well in Chrome and Firefox but not in IE. Any suggestions on how to get it to work in IE?
Thanks
Thanks! Which version of IE are you targeting?
It seems to be working for versions gte IE8 when I test using emulation.
IE7 recognizes scrollTo
as native so I'm not sure why it's not firing (have tried making several minor variations). scrollTop
seems to work better in the emulators so maybe try:
var backToTop = function() {
if (settings.backToTop === true) {
window.scrollTo(0, 0);
document.body.scrollTop;
}
}
Hi, Thanks for your reply. I'm using IE10 & IE11. Thanks for the backToTop function suggestion. I'll give it a try!