Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (Geoff), 53 guests, and 389 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
mmkk
mmkk
Beijing
Posts: 27
Joined: November 2012
Show All Member Profiles 
Top Posters(30 Days)
isaac 56
Gizmo 43
Geoff 35
Morgan 30
ECNet 17
Ruben 14
Mark S 11
JAISP 10
Bert 8
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Scroll up arrow #260878
01/11/18 05:43 PM
01/11/18 05:43 PM
Joined: Feb 2007
Posts: 1,328
Pennsylvania
JAISP Offline OP
veteran
JAISP  Offline OP
veteran
Joined: Feb 2007
Posts: 1,328
Pennsylvania
Anyway to speed that thing up to like maybe instant? Who has the time to wait on very long drawn out threads with a ton of posts?

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Scroll up arrow [Re: JAISP] #260879
01/11/18 05:50 PM
01/11/18 05:50 PM
Joined: Jun 2006
Posts: 16,833
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,833
Portland, OR; USA
Due to feedback on the jerky motion of scrolling from the bottom of a page to the top a smooth scroll was introduced; you could disable this by editing /forums/ubb_js/ubb_jslib.js and changing the 150 to a 0.
Code
// Scroll to the top of the document on click (without changing the url)
function topFunction() {
    if (document.body.scrollTop !== 0 || document.documentElement.scrollTop !== 0) {
        window.scrollBy(0, -150);
        requestAnimationFrame(topFunction);
    }
}


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Scroll up arrow [Re: JAISP] #260880
01/11/18 08:05 PM
01/11/18 08:05 PM
Joined: Feb 2007
Posts: 1,328
Pennsylvania
JAISP Offline OP
veteran
JAISP  Offline OP
veteran
Joined: Feb 2007
Posts: 1,328
Pennsylvania
Thanks but 0 didn't do it for me. It didn't scroll at all so I deducted the math there and make it -500 and that is very quick now.


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Moderators Cant See Forums
by peter gariepy. 01/22/18 10:26 PM
Moderator 7.6.1.1 - Adding Issue?
by Geoff. 01/22/18 03:34 PM
Active Links - reduce the length?
by peter gariepy. 01/22/18 12:53 AM
Upgrading from 7.6.0 to 7.6.1
by Baldeagle. 01/20/18 01:07 PM
Odd behavior with marking forums as read
by Baldeagle. 01/20/18 12:51 PM
Forum Statistics
Forums36
Topics35,052
Posts190,800
Members12,052
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1.1