Solved

From standard html link into frames??

Posted on 2000-02-29
4
185 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now