Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9231493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:04:55+00:00 2026-06-18T06:04:55+00:00

Doing tests through Firebug/Firefox, I’m attempting to run the simplest of commands to have

  • 0

Doing tests through Firebug/Firefox, I’m attempting to run the simplest of commands to have the page scroll to the bottom using the following command:

window.scrollBy(0,3000);

Simple, right? Doing a test on a couple websites, for example Yahoo.com, the small line of code works perfectly. However, on one specific site that I’m attempting to run this on, the page does not scroll I get this in my console log.

>>> window.scrollBy(0,3000);
undefined

The page I’m testing automatically has jQuery 1.7.2 running on it. What could I send through my console to fix this error? I’m suspecting to ‘define window’ again?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T06:04:56+00:00Added an answer on June 18, 2026 at 6:04 am

    window.scrollBy isn’t working on the page you are trying it on, because it’s not window that’s overflowed and is scrolling.

    The c_base div on the page is what’s being scrolled. It’s absolutely positioned, and its overflow is what you are scrolling, not the entire window.

    You can scroll the div by setting it’s scrollTop property:

    document.getElementById('c_base').scrollTop = 3000;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a bunch of c# tests that I want to run through a
I have a class that creates a file. I am now doing integration tests
I am writing unit tests for some of my code and have run into
I am currently doing a program in Java that will run several tests and
I'm creating tests using Selenium 2 Web Driver with C#.Net. After reading through a
I'm doing an ajax request through jQuery and for example, my URL is http://test.com/query.php?hello=foo
I'm doing some tests with new features of CSS3, but this combination only works
I'm doing performance tests on my app engine app. I'm doing it on the
I'm doing some tests, but I see no difference when I use or not
I am doing some tests, just to learn (normally i do this in ajax

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.