Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

From standard html link into frames??

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
Suggested Courses

810 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