?
Solved

From standard html link into frames??

Posted on 2000-02-29
4
Medium Priority
?
212 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 40 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
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).

765 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