Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (Gizmo), 54 guests, and 212 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
mmkk
mmkk
Beijing
Posts: 28
Joined: November 2012
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 11
Ruben 5
M4TT 4
Morgan 3
isaac 1
Latest Photos
Previous Thread
Next Thread
Print Thread
Scroll up arrow #260878
01/11/18 06:43 PM
01/11/18 06:43 PM
Joined: Feb 2007
Posts: 1,332
Pennsylvania
JAISP Offline OP
veteran
JAISP  Offline OP
veteran
Joined: Feb 2007
Posts: 1,332
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 06:50 PM
01/11/18 06:50 PM
Joined: Jun 2006
Posts: 16,941
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,941
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 09:05 PM
01/11/18 09:05 PM
Joined: Feb 2007
Posts: 1,332
Pennsylvania
JAISP Offline OP
veteran
JAISP  Offline OP
veteran
Joined: Feb 2007
Posts: 1,332
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
Member being directed to "stopforumspam?"
by Lisanne. 07/14/18 10:27 AM
7.6.1.1 - Broken ReCaptcha (Not A Bug)
by M4TT. 07/01/18 06:02 PM
Control Panel / Transactions Username
by Morgan. 06/20/18 05:38 AM
Custom Insert won't save
by Baldeagle. 06/18/18 07:44 PM
random 500 server errors on post
by Bad Frog. 05/31/18 09:34 AM
Forum Statistics
Forums36
Topics35,125
Posts191,350
Members12,091
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180524)