Frame navigation problem

Discussion in 'JavaScript' started by snow00, Mar 8, 2008.

  1. #1
    Hi all,
    I am having a problem for frame accessing.
    Below is the structure for my frameset:
    lesson_f
    ______nav
    ______mainpage

    which nav and mainpage are reside under lesson_f.
    I have a submit button at nav frame and via this onclick function at this submit button, it need to travel from nav frame to mainpage frame.
    The path should be:
    parent.mainpage , is this correct?

    After that I would like to apply scrollTo function to this mainpage frame,
    parent.mainpage.scrollTo(5000,0)

    But, it doesn't work in Firefox. Anybody can share yours idea about this?
    Thanks.
     
    snow00, Mar 8, 2008 IP