Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: access to layers in the same URL?
From: Erik [gearik] Mattheis
Date: Mon, 29 Nov 1999 17:15:15 GMT

>movie but a new QTmovie. Is there a way to just close the upper layer
>(the QT layer) and then open a new one in the same URL by the click of a
>button? Does anybody know what I mean? Help is needed desperately!

If the layer you want to show can be downloaded as the page loads,
set the visibliity of the hidden layer to "hidden", then call these
functions like show('myLayer') where myLayer is the layer's ID.

function show(whatLayer) {
if (document.layers) { document.layers[whatLayer].visibility = 'show'; }
else if (document.all) { document.all[whatLayer].style.visibility =
'visible'; }}

function hide(whatLayer) {
if (document.layers) { document.layers[whatLayer].visibility = 'hide'; }
else if (document.all) { document.all[whatLayer].style.visibility =
'hidden'; }}

If you want to wait to download new content to the client's browser
without reloading the entire page, this tells you how to do it:

http://siteexperts.com/tips/contents/ts10/page1.asp


___________________
- Erik (Gearik) Mattheis

(612) 827 3963



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: access to layers in the same URL?, Henrik Friberg

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]