Changing frame without loading new page?

liunx

Guest
Hey guys, I have a site with a frame in the middle. I want to make it so when they click on a link the frame in the middle changes to the content I assigned for that link rather then loading a whole new page with different things in the middle frame. How can I achieve this? Thanks!<!--content-->I dont work much with frames. But my idea...<br />
<br />
In the frame tag, include something like... <br />
<br />
name="_frame"<br />
<br />
and then in the link tags, make it like..<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"blah.html" target="_frame"><!--content-->Very correct...<br />
In the frameset html... make sure you give your frame a name like mentioned above.<br />
<br />
If you have links in the intial frameset page they will have to be targeted to the name of that page like above.<br />
<br />
But if you link lie in the html of the frame then you can just use this target="_self" and it will work for that frame regardless of the name....<br />
<br />
you might find these handy to<br />
target="_parent" changes the frameset that the frame lies in<br />
<br />
target="_blank" opens a new window<!--content-->
 
Back
Top