Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (JAISP), 60 guests, and 232 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Basil
Basil
New Mexico
Posts: 732
Joined: August 2006
Show All Member Profiles 
Top Posters(30 Days)
Ruben 29
isaac 24
fuzzy47 24
Gizmo 21
Morgan 12
driv 2
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
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 Online tapedshut OP
veteran
JAISP  Online Tapedshut 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,903
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,903
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 Online tapedshut OP
veteran
JAISP  Online Tapedshut 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
Backgroud colors in posts
by fuzzy47. 04/16/18 08:27 PM
Avatar Upload Issue
by fuzzy47. 04/15/18 11:58 AM
Forum database - Table prefix question
by Morgan. 04/15/18 06:45 AM
Old Forum Archives
by TGCsanderson. 04/13/18 06:05 PM
Gallery
by fuzzy47. 04/12/18 09:48 AM
Forum Statistics
Forums36
Topics35,104
Posts191,183
Members12,068
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180410)