Solved

From standard html link into frames??

Posted on 2000-02-29
4
207 Views
Last Modified: 2010-04-09
Hi Guys,

I am trying to set up a way for links from my standard (non-frames) html page to load absolute and relative links into a frames page (a frames page that has three frames). I can manage to get the onClick Open Window function to work and it will open the frames page. However, I do not know how to get the "content" frame to load other websites or even pages from my own website.

Any suggestions!

Thanks,

Yvonne G
0
Comment
Question by:YvonneG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:fire_fly
ID: 2571619
Please give me an example of the code you're using now, in the frameset...
0
 
LVL 2

Expert Comment

by:egbservices
ID: 2571749
The following is an example of a frameset page...
give it the name of the page you call the frames!

You can also replace any of the 3 pages with...
say menu.htm with http://other_website.com/
--------------------------------------------------------------
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="">
   <meta name="keywords" content="">
   <meta name="Reply-to" content="">
   <meta name="distribution" content="global">
   <title>Framset page</title>
</head>

<frameset COLS="150,*" BORDER="0" FRAMESPACING="0" FRAMEBORDER="0">
<frameset ROWS="170,*" BORDER="0" FRAMESPACING="0" FRAMEBORDER="0">
<frame SRC="logo.htm" SCROLLING=NO MARGINWIDTH=0 MARGINHEIGHT=0 NAME="logo_window">
<frame SRC="menu.htm" SCROLLING=Auto NAME="menu_window">
</frameset>
<frame SRC="main.htm" NAME="main_window">

<noframes>
<body>
<center>
<b>Welcome to the frame page.</b>
<br>To view these pages correctly you need a frame capable browser...
<br>Click on below icon and download the latest version of Netscape!
<br><a href="http://home.netscape.com/"><img SRC="images/netscape.gif" ALT="Netscape" BORDER=0 height=31 width=88></a>
<br>See you later!
<br>
<hr WIDTH="100%">
<br>If you want to continue without frames just click on any of below links
<p><b><a href="main1.htm">Main page 1</a></b>
<br><b><a href="main2.htm">Main page 2</a></b>
<br><b><a href="main3.htm">Main page 3</a></b>
</center>
</body>
</noframes>

</frameset>
</html>
0
 

Author Comment

by:YvonneG
ID: 2572078
Hi,

Here is the code I am using and what I am trying to achieve.

Page #1 (non-frames page, normal html page with code to open pop up window when a link is clicked)

<a href="http://www.ieaust.org.au/">IEAust</a>

(I want this link to load into a frameset called wmcontent (content.htm) on a frames page named links.htm (this is a frames page that has three framesets)

Page #2 (the frames page)

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<frameset rows="75,561" cols="*" frameborder="NO">
  <frame src="header.htm" name="header" scrolling="NO" frameborder="YES">
  <frameset cols="784,220" rows="*" frameborder="NO">
    <frame src="content.htm" name="wmcontent">
    <frame src="navigation.htm" name="navigation" marginwidth="0" marginheight="0">
  </frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF">

</body></noframes>
</html>

Any ideas would be appreciated
0
 

Accepted Solution

by:
fire_fly earned 20 total points
ID: 2572086
replace: src=content.htm
with:    src='www.ieaust.org.au'

in the frameset, and
replace:  
href="http://www.ieaust.org.au/"
with: href="linkpage.htm"

this will load the ieaust page in the center frame of the three

(i think this is what you are trying to achieve.)

If you have a frameset open, and want to load the IEAust page into one of the frames, put

<a target='wmcontent' href='www.ieaust.org.au' ...>

I'm not quite sure what you are trying to do, but one of these should answer your question.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with mod_substitute 18 76
HTML INPUT 6 38
Display Flex does not Wrap Items 2 46
isNaN issue on the Table input text 2 40
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question