Frameset and windows in firefox

Discussion in 'JavaScript' started by deepthirohini, Oct 15, 2007.

  1. #1
    Hi ,
    I am having the following framesets.

    Parent Main
    |
    ----------------------------------
    | |
    Top1 Bottom1
    |
    Open window
    | Child -> name of the file contains
    -------------------------- the below frameset.
    | |
    Top2 Bottom2
    I explain here:
    I am having the main page. The main page contains two frameset Top and Bottom From the bottom i open one window which consists of frameset.

    So what i do from the Bottom2 i give the alert as
    alert(window.location); // Working fine it shows the Bottom2.
    alert(window.parent.location); // It shows the Child as the name.
    alert(window.top.location); // It shows the Top2 as the output.

    I want to get the Bottom1 as the parent to refresh that page.
    But i can't do it.

    Kindly help me...,,,

    With Regards,
    Rohini
     
    deepthirohini, Oct 15, 2007 IP