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

  • Home
  • SEARCH
  • 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 6725165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:46:30+00:00 2026-05-26T09:46:30+00:00

So basically, I’m creating a site that thats split into two columns. These columns

  • 0

So basically, I’m creating a site that thats split into two columns. These columns are go the entre height of the browser and individually fill up 50% of the screen. Basic example:

 -------------
|      |      |
|  up  | down |
|      |      |
 -------------

I’ve designed this. Each column is a div and both scroll vertically. What I want is to be able to scroll either div and the scroll direction on the right goes the opposite way to the one on the left; but they scroll at the same time.

I’d also like a single scrollbar on the right (like a normal vertical site) but when you scroll that, one side goes up and the other side goes down.

Is anyone able to assist here? Or point me into a particular direction?

Example:
http://buero-buero.org/

  • 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-05-26T09:46:31+00:00Added an answer on May 26, 2026 at 9:46 am

    Shamelessly stolen by the page you link, it’s quite trivial:

    <script>
    function crisscross() {
    $('down-left').style.bottom = '-' + window.scrollY + 'px';
    $('down-right').style.bottom = '-' + window.scrollY + 'px';
    $('left').style.left = '-' + window.scrollY + 'px';
    $('right').style.right = '-' + window.scrollY + 'px';
    }
    </script> 
    

    Edit:

    Answering your comment:

    A) window.scrollY is the amount of vertical scroll of the page, you just absolute position your #down div with a reverse absolute position. If you don’t understand it you should at least mess with it for a while to understand it or, better, learn how window.scrollY and jquery $().style work.

    B) It’s not the amount of code you can put credits on… it’s not stealing but simply not reinventing the wheel.

    C) Don’t get the point, sorry, #down-right is what you are asking in your question: a div scrolling in the opposite direction of the scrollbar.

    Edit again:

    Don’t forget to give a look at css too:

    div#down-right {
        bottom: 0;
        position: fixed;
        right: 6%;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically I just need the effect of copying that HTML from browser window and
Basically I have two models: User and Godfather. The godfather table has three columns:
Basically, I'm trying to tap into the Soap pipeline in .NET 2.0 - I
Basically I’ve heard that certain conditions will cause .NET to blow past the finally
Basically I'm trying to accomplish the same thing that mailto:bgates@microsoft.com does in Internet Explorer
Basically I have written a game plugin that will allow server admins to update
Basically i have a query string that when i hardcode in the catalogue value
Basically what I have here is a button that adds a new list item
Basically I'm wondering if it's possible to have a form on a site outside
Basically I wrote a script that generates a xml file based on user input.

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.