🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15548

Java with frames please help

#15548
From: spt1313
Date: Tue, 08 Jun 1999 00:00
169 lines
6273 bytes
This is a multi-part message in MIME format.

------=_NextPart_000_0016_01BEB144.DD077AE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20
Hello,
=20
I have posted a couple of times with this problem once already today. A =
very
nice man replied to me and gave me a script that would solve my problem. =
IT
didn't and that is the third time someone has went out of their way to =
help
me but to no avail.

I am trying to update two frames with one click. it seems like it would =
be
easy. I understand the explanation that I received and I am pretty sure =
I
did it right.

this is what the gentleman told me to do:


This will update 2 frames for you

<script language=3D"JavaScript">
function cFrames(a,b){
parent.FRAMENAMEA.location.href=3Da;
parent.FRAMENAMEB.location.href=3Db;
}
</script>
Replace the FRAMENAME* with the name of the frames you want to change

The link setup

<a href=3D"JavaScript:cFrames('PageA.htm','PageB.htm')">Link</a>
Replace the Page*.htm with the pages you want to load


=20
well here is the actual source of my pages (edited for length)
=20
off frame set page
=20
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Diso-8859-1">
<title>home</title>
<meta name=3D"GENERATOR" content=3D"Microsoft FrontPage 3.0">
<script language=3D"JavaScript">
function cFrames(a,b){
parent.main3.location.href=3Da;
parent.main2.location.href=3Db;
}
</script>
</head>

=20
and off the page that the link is on
=20
<table border=3D"0" width=3D"133" height=3D"176">
  <tr>
    <td width=3D"133" height=3D"45"><a =
href=3D"JavaScript:cFrames('http://thehub.tytek.net/new_page_4.htm','http=
://thehub.tytek.net/did_it.htm')">123</a>
    </td>
  </tr>
  <tr>
=20
I changed to the whole URL because it wasn't working with the "page.htm" =
either
=20
=20
=20
here is the URL of my page: http://thehub.tytek.net/
=20
can someone please please please help me. I really don't know what else =
to do. Is it me or my page or what?
=20
=20
Thanks in advance
=20

------=_NextPart_000_0016_01BEB144.DD077AE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=3D2>&nbsp;<BR>Hello,<BR>&nbsp;<BR>I have posted a couple =
of times=20
with this problem once already today. A very<BR>nice man replied to me =
and gave=20
me a script that would solve my problem. IT<BR>didn't and that is the =
third time=20
someone has went out of their way to help<BR>me but to no =
avail.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I am trying to update two frames with one click. it =
seems like=20
it would be<BR>easy. I understand the explanation that I received and I =
am=20
pretty sure I<BR>did it right.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>this is what the gentleman told me to =
do:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><FONT face=3DCourier size=3D2>This will update 2 frames for=20
you</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>&lt;script =
language=3D"JavaScript"&gt;<BR>function=20
cFrames(a,b){<BR>parent.FRAMENAMEA.location.href=3Da;<BR>parent.FRAMENAME=
B.location.href=3Db;<BR>}<BR>&lt;/script&gt;<BR>Replace=20
the FRAMENAME* with the name of the frames you want to =
change</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>The link setup</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>&lt;a=20
href=3D"JavaScript:cFrames('PageA.htm','PageB.htm')"&gt;Link&lt;/a&gt;<BR=
>Replace=20
the Page*.htm with the pages you want to load</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><FONT size=3D2>&nbsp;<BR>well here is the actual source of my =
pages=20
(edited for length)<BR>&nbsp;<BR>off frame set page<BR>&nbsp;<BR><FONT=20
face=3DCourier>&lt;head&gt;<BR>&lt;meta http-equiv=3D"Content-Type"=20
content=3D"text/html;=20
charset=3Diso-8859-1"&gt;<BR>&lt;title&gt;home&lt;/title&gt;<BR>&lt;meta =

name=3D"GENERATOR" content=3D"Microsoft FrontPage 3.0"&gt;<BR>&lt;script =

language=3D"JavaScript"&gt;<BR>function=20
cFrames(a,b){<BR>parent.main3.location.href=3Da;<BR>parent.main2.location=
.href=3Db;<BR>}<BR>&lt;/script&gt;<BR>&lt;/head&gt;</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;<BR>and off the page that the link is=20
on<BR>&nbsp;<BR><FONT face=3DCourier>&lt;table border=3D"0" =
width=3D"133"=20
height=3D"176"&gt;<BR>&nbsp; &lt;tr&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;td =
width=3D"133"=20
height=3D"45"&gt;&lt;a=20
href=3D"JavaScript:cFrames('http://thehub.tytek.net/new_page_4.htm','http=
://thehub.tytek.net/did_it.htm')"&gt;123&lt;/a&gt;<BR>&nbsp;&nbsp;&nbsp; =

&lt;/td&gt;<BR>&nbsp; &lt;/tr&gt;<BR>&nbsp; =
&lt;tr&gt;<BR></FONT>&nbsp;<BR>I=20
changed to the whole URL because it wasn't working with the "page.htm"=20
either<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;<BR>here is the URL of my page: <A=20
href=3D"http://thehub.tytek.net/">http://thehub.tytek.net/</A><BR>&nbsp;<=
BR>can=20
someone please please please help me. I really don't know what else to =
do. Is it=20
me or my page or what?<BR>&nbsp;<BR>&nbsp;<BR>Thanks in=20
advance<BR>&nbsp;</FONT></DIV></BODY></HTML>

------=_NextPart_000_0016_01BEB144.DD077AE0--
Technical Details
Message-ID: <yO073.346$N56.27394@news.cwix.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,24d25697585b8d83,start
X-Google-Attributes: gidf74b3,public
From: "spt1313" <spt1313@mci2000.com>
Subject: Java with frames please help
Date: 1999/06/08
Message-ID: <yO073.346$N56.27394@news.cwix.com>
X-Deja-AN: 486931594
X-Priority: 3
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01BEB144.DD077AE0"
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: news@cw.net
X-Trace: news.cwix.com 928815390 166.62.183.229 (Tue, 08 Jun 1999 00:16:30 EDT)
X-MSMail-Priority: Normal
MIME-Version: 1.0
NNTP-Posting-Date: Tue, 08 Jun 1999 00:16:30 EDT
Newsgroups: borland.public.jbuilder.java.language