moxyfruvous
04-09-2005, 02:51 AM
I want to make a link to a page that has frames. However, I want the page to open with a different page in the main window than defined in the framedef. I would just change the page in the framedef, but I still want that page to be my homepage. I don't know how to explain it. Here, I'll try this:
I have a page like this:
<FRAMESET ROWS="25%,75%">
<FRAMESET COLS="20%,80%">
<FRAME SRC="header2.htm">
<FRAME SRC="header.htm">
</FRAMESET>
<FRAMESET COLS="20%,80%">
<FRAME SRC="menu.htm">
<FRAME SRC="homepage.htm" NAME="win-main">
</FRAMESET>
</FRAMESET>
I want it to open like that (with the homepage in the main window) for every link that set up that goes to that page. However, let's say that I have a link that's posted on someone else's webpage, and I want the frames page to open up with a "WELCOME" page in the main window. So it'd almost be like making the code for the framedef this:
<FRAMESET ROWS="25%,75%">
<FRAMESET COLS="20%,80%">
<FRAME SRC="header2.htm">
<FRAME SRC="header.htm">
</FRAMESET>
<FRAMESET COLS="20%,80%">
<FRAME SRC="menu.htm">
<FRAME SRC="welcome.htm" NAME="win-main">
</FRAMESET>
</FRAMESET>
But, I don't want to do that. I only want a different frame in the main window from one certain link. Is it possible/are there anchor attributes to do this? Something like, <A HREF="framedef.htm" TARGET="..."> and then add a HREF for the target...? Ah, I don't know. I've just confused myself with this post. Thanks for anyone who tries to help, or at least tries to understand what I'm rambling on about. ;)
I have a page like this:
<FRAMESET ROWS="25%,75%">
<FRAMESET COLS="20%,80%">
<FRAME SRC="header2.htm">
<FRAME SRC="header.htm">
</FRAMESET>
<FRAMESET COLS="20%,80%">
<FRAME SRC="menu.htm">
<FRAME SRC="homepage.htm" NAME="win-main">
</FRAMESET>
</FRAMESET>
I want it to open like that (with the homepage in the main window) for every link that set up that goes to that page. However, let's say that I have a link that's posted on someone else's webpage, and I want the frames page to open up with a "WELCOME" page in the main window. So it'd almost be like making the code for the framedef this:
<FRAMESET ROWS="25%,75%">
<FRAMESET COLS="20%,80%">
<FRAME SRC="header2.htm">
<FRAME SRC="header.htm">
</FRAMESET>
<FRAMESET COLS="20%,80%">
<FRAME SRC="menu.htm">
<FRAME SRC="welcome.htm" NAME="win-main">
</FRAMESET>
</FRAMESET>
But, I don't want to do that. I only want a different frame in the main window from one certain link. Is it possible/are there anchor attributes to do this? Something like, <A HREF="framedef.htm" TARGET="..."> and then add a HREF for the target...? Ah, I don't know. I've just confused myself with this post. Thanks for anyone who tries to help, or at least tries to understand what I'm rambling on about. ;)