Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] objects+scroll


  • From: javascript@xxxxxxxxxx (Peter-Paul Koch)
  • Subject: [Javascript] objects+scroll
  • Date: Mon, 22 Jul 2002 09:31:02 +0000

>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