RE: Javascript/Frame Question
by Klaas De Waele <klaas(at)gracegraphics.be>
|
| Date: |
Tue, 11 Dec 2001 13:57:55 +0100 |
| To: |
"'David.Artiss(at)boots.co.uk'" <David.Artiss(at)boots.co.uk>, "'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
Check fiatcoupe.net
it's easy and requires no javascript.
Just nesting framesets...
--------------
| 1 |
--------------
| |
| 2 |
| |
--------------
is your first one
--------------
| | |
| 3 | 4 |
| | |
--------------
is your second one, which goes in 2
You can now change both frames 3 and 4 by just targetting 2
You can change 3 by targetting 3
and hey presto chage 4 by targetting 4
It's easy - frames are wonderful - as long as a browser supports them in a
nice way and as long as you keep your targets and framenames correct.
Should you want to do it not-so-logic, you could use javascript (bear the
consequences):
www.adja.be (almost forgot about this site I once made)
<.body>
<.script>
parent.yourframename.location="navi2.htm"
<./script>
...
- Kayjey -
www.fiatcoupe.net
> -----Oorspronkelijk bericht-----
> Van: owner-hwg-techniques(at)hwg.org
> [mailto:owner-hwg-techniques(at)hwg.org]Namens David.Artiss(at)boots.co.uk
> Verzonden: dinsdag 11 december 2001 11:33
> Aan: hwg-techniques(at)hwg.org
> Onderwerp: Javascript/Frame Question
>
>
>
>
> Yes, the dreaded frames !!
>
> Let's say I say I have a page consisting of 3 frames - frames
> a, b and c.
>
> Currently it's set up so that when you click on a menu option
> in frame a it will
> load a different page into frame c. All pretty normal HTML stuff.
>
> What I'd like to do though is for the page that I've loaded
> into frame c to
> change the content of frame b (essentially loading two frames
> based on a link in
> another). Can anybody suggest an easy way to go about this -
> I'm assuming
> Javascript will be the answer.
>
> Many thanks in advance,
> David.
>
>
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.