On Thu, 2006-10-19 at 21:13 +0200, David Suna wrote:
> I am looking for a cross browser compatible way to allow a child frame 
> to scroll the parent's position.  I have a long IFRAME on a page 
> containing a form.  When the user submits the form the confirmation page 
> is much shorter but the position of the parent is still at the bottom of 
> the page where the submit button was.

I had a similar problem once. You can get the parent's JavaScript window
by using window.top on your local iframe. Then you can use a variety of
scrolling methods on the parent. Also you can look at this:
http://developer.mozilla.org/en/docs/DOM:element.scrollTop

--
Oded
::..
"Debts of friendship are not debts"
    -- Rhyath



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to