Help - Search - Members - Calendar
Full Version: Frame Hyperlinking Problem
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
acupofmilo
Hi everybody...freshly registered...and I hope one of the gurus could help me out here.

I had to design a VERY VERY basic "website" for a module I'm covering, and on one of the pages, i decided to use frames.

Each "page" has to have clickable links to other areas of the website, and as shown in the attached pictures, ive put these links in the header frame.

Now, the problem lies here. Whenever i click on one of the links, for example "PAYMENT", only the area in that frame gets hyperlinked to the payment page.

Is there any way to get the ENTIRE page to change to the "PAYMENT" page? Also, i've tried using "_blank" and "_self" as targets for that payment link, but it only opens up a new window...Id like to get that entire window to change into the payment page (i.e the frames disappear, and the payment page shows up)


(SHOWS THE LINKS, BEFORE CLICKING)
IPB Image

(AFTER CLICKING)
IPB Image

(Any idea how to get it to this page directly by clicking the 'payment' link)
IPB Image


Thanks in advance guys.

P/S: Here are the source codes relevant to the pix above.

(FrameSet)
QUOTE
<HTML>
<HEAD>
<TITLE>Online Menu</TITLE>
</HEAD>

<FRAMESET ROWS="15%,*">
<FRAME SRC="menutitle.htm" NAME=TITLE SCROLLING=NO>

<FRAMESET COLS="20%,*">
<FRAME SRC="submenu.htm" NAME=submenu SCROLLING=NO>
<FRAME SRC="menupage.htm" NAME=menupage SCROLLING=YES>
</FRAMESET>




</HTML>



("HEADER" area, where the links are located)
QUOTE
<HTML>
<HEAD>
<body background="BBackground.jpg">

<font face="Lucida Handwriting" color="green">
<center>
<H1>The Pandan House's Menu</H1>
</font>
</center>
<table>

<table border="1" cols="5" cellspacing="0" cellpadding="0" width="80%" align="center">


<tr align="center" valign="bottom">

<td><FONT COLOR="white"><a href="RestaurantMain.htm"><b>MAIN</b></td></a></font>
<td><FONT COLOR="white"><a href="RestaurantFrame.htm"><b>MENU</b></td></a></font>
<td><FONT COLOR="white"><a href="RestaurantSetMeals.htm"><b>SET MEALS</b></td></a></font>
<td><FONT COLOR="white"><a href="RestaurantPayment.htm" ><b>PAYMENT</b></td></a></font>

</tr>


</table>






</Body>
</HTML>
</HEAD>
Darin McGrew
Please see the FAQ entry How do I update two frames at once?
pandy
I think you misread for once, Darin. I think acupofmilo wants another frame target, namely '_top'.
http://htmlhelp.com/reference/html40/values.html#frametarget
acupofmilo
Thanks alot guys... the "target=_top" command was exactly what i needed!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.