View Full Version : Using scrollBy(x,y)
06-13-2003, 07:01 PM
I have use scrollBy() before on main window and even popup windows! But can not seem to get it to work with a frame is this not possible! If so is there no other way to scroll a frame!
06-14-2003, 07:36 AM
what does scrollBy() do?
I don't understand what you really asking for,
if you want to scroll an entire fram, try put fram inside a fram..
can you explain a little mroe?
06-14-2003, 07:47 AM
This method is used to scroll the window's content area by the specified number of pixels. This is only useful when there are areas of the document that cannot be seen within the window's current viewing area, and the visible property of the window's scrollbar must be set to true for this method to work.
Syntax: window.scrollBy(horizPixels, vertPixels)
scriptkeeper, how are you using your code, try something like this
06-18-2003, 10:41 AM
I'm thinking you just dont have any content on the page, hehehe...
Try a bunch of br's ;)
Unless ur tring to do it crossframe theres no reason it shouldn't work.
07-04-2003, 07:42 PM
I cannot think what's wrong either, but if you're trying to scroll to a different section of your page, an alternative would be to place a bookmark on where you want to scroll to.
You can then use the link to take you to the books section.
<a href="#books_section" target="FRAME_NAME"></a>
Hope I have helped.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.