Adjust reveal time

Permalink Browser Info Environment
Wondering where to adjust the reveal time for the top button. My client wants to be able to scroll further down the page before the button shows. Where is this done?

Type: Discussion
Status: New
tommyh
View Replies: View Best Answer
bryanlewis replied on at Permalink Best Answer Reply
bryanlewis
This is possible you will need to adjust the javascript to do this though. In the "js" folder there is a file "jquery.ui.totop.js"

The Var defaults are set in there as the following

var defaults = {
         text: 'To Top',
         min: 200,
         inDelay:600,
         outDelay:400,
           containerID: 'toTop',
         containerHoverID: 'toTopHover',
         scrollSpeed: 1200,
         easingType: 'linear'
       };


If you adjust the min to your liking I believe that should do what you want.
tommyh replied on at Permalink Reply
tommyh
Worked like a charm! Thanks!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.