scriptkeeper
06-13-2003, 06: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!
|
||||
Using scrollBy(x,y)scriptkeeper 06-13-2003, 06: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! weronpc 06-14-2003, 06: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? chrismiceli 06-14-2003, 06:47 AM devguru scrollBy Method 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 window.frames["framename"].scrollBy(horizPixels, vertPixels); Fly Swatter 06-18-2003, 09: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. wickford 07-04-2003, 06: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. ------------------- <a name="books_section">BOOKS</a> ... ------------------- 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. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum