Results 1 to 3 of 3
-
04-21-2005, 07:02 PM #1Disabled
- Join Date
- Oct 2003
- Posts
- 109
Refreshing 1 frame, rather then entire page!
Hi guys, i have a page that has a top and bottom frame. Basically, i want to have the user click a link on the top frame, but have it update/display it on the bottom frame without refreshing the entire page.
If someone can help me with this, i would be very thankful
-
04-22-2005, 02:47 AM #2Newbie
- Join Date
- Feb 2005
- Posts
- 18
Re: Refreshing 1 frame, rather then entire page!
Originally posted by RenderStream
to have the user click a link on the top frame, but have it update/display it on the bottom frame
create the bottom frame with a "name" attribute
for example:Code:<FRAME name="bottom_frame" src="bottom_content.html">
for example:Code:<a href="new_content.html" target="bottom_frame"> link </a>
-
04-24-2005, 08:29 AM #3Aspiring Evangelist
- Join Date
- May 2004
- Posts
- 398
Based on the prevoius example, you can use javascript even..
PHP Code:<script language="Javascript">
function refreshframe() {
parent.bottom_frame.location=parent.bottom_frame.location;
}
</script>