opening frames in a new frrameset

liunx

Guest
Hello all...<br />
<br />
Here's my problem..<br />
<br />
I have a link in my html page which opens up a new frameset. What I really need to do is specify from this link the contents of one of the frames in this frameset..<br />
<br />
for example, i link to a frameset, which contains a frame 'mainFrame'. I want to be able to open 'page.html' into 'mainFrame' from the link.<br />
<br />
I then need a second link that opens 'page2.html' in this same 'mainFrame'...<br />
<br />
I'm assuming I'll need some javascripting to achieve this...<br />
<br />
Any ideas? <br />
Thanks in advance!<br />
<br />
Johnno<!--content-->ok if i'm understanding what you need right this should help<br />
<br />
ok here is an example using one of my pages<br />
here is the code for my main page (we will call index.html)<br />
<br />
<html><br />
<br />
<head><br />
<title>FORMATS</title><br />
</head><br />
<br />
<frameset border="0" frameborder="0" cols="16%,84%"><br />
<frame SRC=http://www.htmlforums.com/archive/index.php/"formats.html" NAME="formats" NORESIZE><br />
<frame SRC=http://www.htmlforums.com/archive/index.php/"welcome.html" NAME="RULES"><br />
<noframes><br />
<body><br />
</body><br />
</noframes><br />
</frameset><br />
</html><br />
<br />
now in my frame "formats" is where all my links are at so<br />
here is an example of one of my links:<br />
<br />
<a HREF=http://www.htmlforums.com/archive/index.php/"regular.html" target="RULES">Regular</a><br><br />
<br />
notice the " target="RULES" " that sends that link to open<br />
in that frame...and that's all that needs to be done just<br />
make sure each link has the target="framename" in it and <br />
it will open the link in that frame listed.<br />
<br />
hope that helps<!--content-->
 
Back
Top