Using a text only editor like Notepad, open the scrolltopcontrol.js script and replace the function of the same name with this one (additions highlighted):
Code:
togglecontrol:function(){
var scrolltop=jQuery(window).scrollTop()
if (!this.cssfixedsupport)
this.keepfixed()
this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
if (this.state.shouldvisible && !this.state.isvisible){
this.$control.stop().css({visibility: 'visible'}).animate({opacity:1}, this.setting.fadeduration[0])
this.state.isvisible=true
}
else if (this.state.shouldvisible==false && this.state.isvisible){
this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1], function(){this.style.visibility = 'hidden';})
this.state.isvisible=false
}
},
Save changes and use that version. The browser cache may need to be cleared and/or the page refreshed to see changes.
Bookmarks