🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Java with frames please help

#15557
From: Rachel Rainey
Date: Tue, 08 Jun 1999 00:00
156 lines
7734 bytes
--------------7D0C9270C28BEC6A5ECDFA66
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

you may have more luck posting under comp.lang.javascript -- I gather
you are not talking about clicking within a Java applet

btw, I don't know much about JavaScript, but I would expect that if the
clicking were to happen on a parent frame, each child frame could be
manipulated

spt1313 wrote:

>
> Hello,
>
> 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="JavaScript">
> function cFrames(a,b){
> parent.FRAMENAMEA.location.href=a;
> parent.FRAMENAMEB.location.href=b;
> }
> </script>
> Replace the FRAMENAME* with the name of the frames you want to
> change The link setup <a
> href="JavaScript:cFrames('PageA.htm','PageB.htm')">Link</a>
> Replace the Page*.htm with the pages you want to load
>
> well here is the actual source of my pages (edited for length)
>
> off frame set page
>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">
> <title>home</title>
> <meta name="GENERATOR" content="Microsoft FrontPage 3.0">
> <script language="JavaScript">
> function cFrames(a,b){
> parent.main3.location.href=a;
> parent.main2.location.href=b;
> }
> </script>
> </head>
> and off the page that the link is on
>
> <table border="0" width="133" height="176">
>   <tr>
>     <td width="133" height="45"><a
> href="JavaScript:cFrames('http://thehub.tytek.net/new_page_4.htm','http://thehub.tytek.net/did_it.htm')">123</a>
>
>     </td>
>   </tr>
>   <tr>
>
> I changed to the whole URL because it wasn't working with the
> "page.htm" either
>
>
>
> here is the URL of my page: http://thehub.tytek.net/
>
> can someone please please please help me. I really don't know what
> else to do. Is it me or my page or what?
>
>
> Thanks in advance

--------------7D0C9270C28BEC6A5ECDFA66
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
you may have more luck posting under comp.lang.javascript -- I gather you
are not talking about clicking within a Java applet
<p>btw, I don't know much about JavaScript, but I would expect that if
the clicking were to happen on a parent frame, each child frame could be
manipulated
<p>spt1313 wrote:
<blockquote TYPE=CITE><style></style>
&nbsp;
<br><font size=-1>Hello,</font>
<p><font size=-1>I have posted a couple of times with this problem once
already today. A very</font>
<br><font size=-1>nice man replied to me and gave me a script that would
solve my problem. IT</font>
<br><font size=-1>didn't and that is the third time someone has went out
of their way to help</font>
<br><font size=-1>me but to no avail.</font>&nbsp;<font size=-1>I am trying
to update two frames with one click. it seems like it would be</font>
<br><font size=-1>easy. I understand the explanation that I received and
I am pretty sure I</font>
<br><font size=-1>did it right.</font>&nbsp;<font size=-1>this is what
the gentleman told me to do:</font>&nbsp;&nbsp;
<br><font face="Courier"><font size=-1>This will update 2 frames for you</font></font>&nbsp;<font face="Courier"><font size=-1>&lt;script
language="JavaScript"></font></font>
<br><font face="Courier"><font size=-1>function cFrames(a,b){</font></font>
<br><font face="Courier"><font size=-1>parent.FRAMENAMEA.location.href=a;</font></font>
<br><font face="Courier"><font size=-1>parent.FRAMENAMEB.location.href=b;</font></font>
<br><font face="Courier"><font size=-1>}</font></font>
<br><font face="Courier"><font size=-1>&lt;/script></font></font>
<br><font face="Courier"><font size=-1>Replace the FRAMENAME* with the
name of the frames you want to change</font></font>&nbsp;<font face="Courier"><font size=-1>The
link setup</font></font>&nbsp;<font face="Courier"><font size=-1>&lt;a
href="<A HREF="JavaScript:cFrames(">JavaScript:cFrames(</A>'PageA.htm','PageB.htm')">Link&lt;/a></font></font>
<br><font face="Courier"><font size=-1>Replace the Page*.htm with the pages
you want to load</font></font>&nbsp;&nbsp;
<p><font size=-1>well here is the actual source of my pages (edited for
length)</font>
<p><font size=-1>off frame set page</font>
<p><font face="Courier"><font size=-1>&lt;head></font></font>
<br><font face="Courier"><font size=-1>&lt;meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1"></font></font>
<br><font face="Courier"><font size=-1>&lt;title>home&lt;/title></font></font>
<br><font face="Courier"><font size=-1>&lt;meta name="GENERATOR" content="Microsoft
FrontPage 3.0"></font></font>
<br><font face="Courier"><font size=-1>&lt;script language="JavaScript"></font></font>
<br><font face="Courier"><font size=-1>function cFrames(a,b){</font></font>
<br><font face="Courier"><font size=-1>parent.main3.location.href=a;</font></font>
<br><font face="Courier"><font size=-1>parent.main2.location.href=b;</font></font>
<br><font face="Courier"><font size=-1>}</font></font>
<br><font face="Courier"><font size=-1>&lt;/script></font></font>
<br><font face="Courier"><font size=-1>&lt;/head></font></font>&nbsp;&nbsp;
<br><font size=-1>and off the page that the link is on</font>
<p><font face="Courier"><font size=-1>&lt;table border="0" width="133"
height="176"></font></font>
<br><font face="Courier"><font size=-1>&nbsp; &lt;tr></font></font>
<br><font face="Courier"><font size=-1>&nbsp;&nbsp;&nbsp; &lt;td width="133"
height="45">&lt;a href="<A HREF="JavaScript:cFrames(">JavaScript:cFrames(</A>'<A HREF="http://thehub.tytek.net/new_page_4.htm">http://thehub.tytek.net/new_page_4.htm</A>','<A HREF="http://thehub.tytek.net/did_it.htm">http://thehub.tytek.net/did_it.htm</A>')">123&lt;/a></font></font>
<br><font face="Courier"><font size=-1>&nbsp;&nbsp;&nbsp; &lt;/td></font></font>
<br><font face="Courier"><font size=-1>&nbsp; &lt;/tr></font></font>
<br><font face="Courier"><font size=-1>&nbsp; &lt;tr></font></font>
<p><font size=-1>I changed to the whole URL because it wasn't working with
the "page.htm" either</font>
<br>&nbsp;
<br>&nbsp;
<p><font size=-1>here is the URL of my page: <a href="http://thehub.tytek.net/">http://thehub.tytek.net/</a></font>
<p><font size=-1>can someone please please please help me. I really don't
know what else to do. Is it me or my page or what?</font>
<br>&nbsp;
<p><font size=-1>Thanks in advance</font></blockquote>
</html>

--------------7D0C9270C28BEC6A5ECDFA66--
Technical Details
Message-ID: <375DE19F.8ABD88DE@spots.ab.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <yO073.346$N56.27394@news.cwix.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,24d25697585b8d83
X-Google-Attributes: gidf74b3,public
From: Rachel Rainey <rr@spots.ab.ca>
Subject: Re: Java with frames please help
Date: 1999/06/08
Message-ID: <375DE19F.8ABD88DE@spots.ab.ca>
X-Deja-AN: 487344282
References: <yO073.346$N56.27394@news.cwix.com>
To: spt1313@mci2000.com
X-Accept-Language: en
Content-Type: multipart/alternative; boundary="------------7D0C9270C28BEC6A5ECDFA66"
X-Complaints-To: abuse@tac.net
X-Trace: iceman.tac.net 928899409 1192 209.115.174.170 (9 Jun 1999 03:36:49 GMT)
Mime-Version: 1.0
Reply-To: rker0@hotmail.com
NNTP-Posting-Date: 9 Jun 1999 03:36:49 GMT
Newsgroups: borland.public.jbuilder.java.language