babble-digest Wednesday, January 21 1998 Volume 01 : Number 152

In this issue:
Re: js: mult frame swap w/ one link?
scrollbars=0 ?

----------------------------------------------------------------------

Date: Tue, 20 Jan 1998 22:57:46 -0800
From: Ben Curtis <quixote@wenet.net>
Subject: Re: js: mult frame swap w/ one link?

> 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).

 

I get the feeling that -- although very useful -- the approach of swapping
multiple frames with one click isn't necessarily what you're trying to achieve
here, since the only changing content of the new windows is the background color.

Try this:

function colorSwap(newcolor)
{ top.topframe.document.bgColor = newcolor;
top.bottomframe.document.bgColor = newcolor;
}

.
.
.

 

<a href="javascript:colorSwap('666699')">Swap Colors</a>

 

 

I hope that's what you're going for. If you're looking to do this for more
than 3 or 4 frames, it may behoove you to loop through the frames array. I
have an interesting example (work in progress) of a similar effect, in which
it fades the new color in. Lemme know offlist if you all are interested.

 

~~
__________qp_______________________________________________________

Ben Curtis "A thought
once put to words,
mailto:quixote@wenet.net loses its true essence.
http://www.wenet.net/~quixote But what else can we do?"
..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)"

------------------------------

Date: Wed, 21 Jan 1998 01:31:41 -0600
From: Erik Kittlaus <erik@unidial.com>
Subject: scrollbars=0 ?

I'm finding that using the following code to create a pop-up window
works fine in NN3 and NN4 (mac) but in IE4 the scrollbar pops in there.
I've used both scrollbars=0 and scrollbars=no. Neither works. I must
say I'm still using the most recent IE4 preview release. That may have
been fixed in the final release. Anyone have any insights here?

function openWindow() {
popupWin = window.open('window.html', 'remote',
'status,resizable,scrollbars=0,width=100,height=120')
}

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 #152
****************************

Previous | ToC | Next

  1