Setting auto-scroll speed

Permalink Browser Info Environment
Is it possible to set a speed on the auto-scroll function, to achieve a nice animated scroll before the content loads?

Type: Discussion
Status: New
bschwartz
View Replies:
Tony replied on at Permalink Reply
Tony
There's currently animated autoscrolling already built in, but it's hardcoded at the moment to half a second. If you'd like to change that value, adjust this segment of code within the view.js:

if( scrollTop < $(window).scrollTop() ){
$('html, body').stop().animate({
scrollTop:scrollTop
}, 500);
}
bschwartz replied on at Permalink Reply
bschwartz
Thank you. I'm not sure why I had it in my head that the scroll was instantaneous, but thanks for the info. I probably will slow it down a bit.

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.