Link to home
Start Free TrialLog in
Avatar of KavyaVS
KavyaVS

asked on

Back Button with Frames

Hi,
There are two frames defined in the  code below. The first one is named menu and the second is named main.:
<FRAMESET ROWS="25%,75%">
<FRAMESRC="menu.aspx" NAME="menu"  SCROLLING="AUTO" NORESIZE="NORESIZE" >
<FRAME SRC="homepage.html" NAME="main" SCROLLING="AUTO"
NORESIZE="NORESIZE"><NOFRAMES>
<BODY></BODY></NOFRAMES>
</FRAMESET>

 the back button is in the frame named menu and I want to go back one document in the frame named main.I tried this.
<FORM>
<INPUT TYPE="BUTTON" VALUE="Go Back" ONCLICK="parent.main.history.go(-1)">
</FORM>

But it is not working, it is not going to previous frame in Main.

Any Suggestions Please.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of X-treem
X-treem
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KavyaVS
KavyaVS

ASKER

Thanks.
Thanks