[Javascript] objects+scroll

Peter-Paul Koch gassinaumasis at hotmail.com
Mon Jul 22 04:31:02 CDT 2002


>BIG PROBLEM!
>I'm trying to make an objects (layer) which will load an external url
>(main1.html document) on which I can then use scrollTo() function. Can 
>someone
>show me how to do this? I just want to scroll the document inside this
>object...not the whole frame/window!

I'm trying to do exactly the same and have reluctantly come to the 
conclusion that it's impossible, except in Explorer on Windows.

In IE Win, do

document.getElementById('ID_of_item_you_want_to_show').scrollIntoView()

ppk

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




More information about the Javascript mailing list