babble-digest Tuesday, January 20 1998 Volume 01 : Number 149
In this issue:
js: mult frame swap w/ one link?
----------------------------------------------------------------------
Date: Tue, 20 Jan 1998 01:02:01 -0600
From: Erik Kittlaus <erik@unidial.com>
Subject: js: mult frame swap w/ one link?
This one goes out to the Javascript afficionados. This is very basic
but I still can't get it to work. It means a lot to me to get through
this, so if you've got a solution please kick it down. Thanks in
advance.
I'm attempting to swap out multiple frames with a single click of a
link. I've tried diligently to incorporate the code Nick Heinle
introduces in his book 'Designing with Javascript' (pages 40-43). It
simply doesn't work and I don't know why. I put up a sample to show the
problem at:
http://www.abmworldlink.com/paininmyass
The intent here is to swap out the top and bottom frames with a link
from the center frame. Nav3 gives this js error message:
Window.one has no property named 'location'.
Nav4 gives this message: parent.one has no properties. What gives.
I've posted a very simplistic version of what I'm really trying to
achieve. What I really need to do is swap out eight frames with the
same HTML file (it's only a color shift in the body tag). Anyone have
an efficient script for this effect. Sorry for the long post. Thanks.
Erik
..H5 Babble Design List Info: http://www.highfive.com/h5/babble.html
..To unsubscribe, send the following one line to majordomo@highfive.com:
.."unsubscribe (babble or babble-digest) (e-mail address)"
------------------------------
End of babble-digest V1 #149
****************************