Frame Hyperlinking Problem |
Frame Hyperlinking Problem |
acupofmilo |
Dec 16 2008, 08:22 PM
Post
#1
|
Group: Members Posts: 2 Joined: 16-December 08 Member No.: 7,358 |
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) (AFTER CLICKING) (Any idea how to get it to this page directly by clicking the 'payment' link) 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 |
Dec 16 2008, 09:24 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry How do I update two frames at once?
|
pandy |
Dec 16 2008, 10:05 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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 |
Dec 17 2008, 02:32 AM
Post
#4
|
Group: Members Posts: 2 Joined: 16-December 08 Member No.: 7,358 |
Thanks alot guys... the "target=_top" command was exactly what i needed!
|
Lo-Fi Version | Time is now: 18th April 2024 - 11:48 PM |