Linking in frames
I want to link from a button in top frame, to a site in a center frame, tia...
I have a problem, I am building a site with frames. I have a top frame, a left, a right, a center and a bottom frame. My buttons are in the top frame, how do I manage that when a button in the top frame is pressed, it opens a new site (like contact.htm or something) in the center frame? Thanx in advance,
Erik...
Comments
Refreshing different frame when one event occurs on a frame.
I had the similar problem. I had three frames TOP, LEFT and RIGHT.
When I press a button in the RIGHT frame, left frame should be refreshed with a different page.
So, I have written a javascript function and called it in button_click event. It worked for me. try the following.
function refreshLEFT(){
parent.frames[1].location.href="menu.asp";
}
For your need, you may have to replace '1' with appropriate value. (0-3), depeniding on which window you wish to refresh.
Thanks
Viswa
and very next to that function I gave call to that function and it worked. I tried with the other options mentioned by jux82 and also mattjp88, but they did not work
RE: Refreshing different frame when one event occurs on a frame.
You must me logged in to write a comment.