Forum Moderators: open

Message Too Old, No Replies

link from one iframe to another and reset parent page to top

         

The_Hat

1:36 am on Feb 2, 2007 (gmt 0)

10+ Year Member



So here is the situation.. There is this page that has two iframes in it... The lower iframe has a page full of links to video files and the top iframe is the target of the links in the lower iframe.. SO that a person selects the video in the menu and that page shows in the top iframe.. (using iframe for a variety of reasons, i know they are not the most elegant) The problem is however... when i person clicks on the video in the lower menu the parent page dosent scroll to the top of the page so that the video can be viewed.. Is there a way to place an event on the links in the menu in the bottom iframe that will cause the page that carries both iframes to by scrolled back up to the top?

Thanks in advance for any nudge that could be given me.

geofflee

10:51 am on Feb 2, 2007 (gmt 0)

10+ Year Member



Maybe you are looking for the scrollTop property? [quirksmode.org ]

The_Hat

3:16 pm on Feb 2, 2007 (gmt 0)

10+ Year Member



hmm.. could somebody give me a little bit more of a push..