www.webdeveloper.com
Results 1 to 2 of 2

Thread: synchronized scroll frames

  1. #1
    Join Date
    Mar 2006
    Posts
    2

    synchronized scroll frames

    I am trying to figure out how to synchronize the vertical scrolling of two different frames of different height. Everything that I have found or have been able to code myself only works correctly when the frames are both the same size. Basically, I have a right and left frame. The right frame size is dynamic but is usually about 4 times the height of the left frame. I need to make the right frame scroll faster so that when the bottom of the left frame is reached, the bottom of the right frame is also reached. When I get to the top, middle, or bottm of the left frame I also want to be at the top, middle, or bottom of the right frame.

    I've tried to calculate the frame sizes then divide the larger one by the smaller one and multiply the scroll speed of the larger frame by the quotient but this does not seem to work, even if one frame is exactly two or three times larger than the other.

    Any ideas?

  2. #2
    Join Date
    Mar 2006
    Posts
    2
    bump...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles