Solved

From standard html link into frames??

Posted on 2000-02-29
4
174 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
Comment Utility
Please give me an example of the code you're using now, in the frameset...
0
 
LVL 2

Expert Comment

by:egbservices
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
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)

771 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

12 Experts available now in Live!

Get 1:1 Help Now