Forums

This topic is locked

Hiding/Showing Layers

Posted 29 Dec 2002 13:37:51
1
has voted
29 Dec 2002 13:37:51 Eduardo Hernandez posted:
I am facing some problems trying to show / hide layers in a DW extension.

I have written my own code and I have also tried the MM_showHideLayers functions, and none of them seems to work.

Is there a way to hide/show layers in a dw extension?.

Thanks in advance!!!!

Replies

Replied 29 Dec 2002 23:47:07
29 Dec 2002 23:47:07 Marja Ribbers-de Vroed replied:
Do you mean layers in the extension user interface itself?

If so, they can be hidden (or shown) as follows:

<pre id=code><font face=courier size=2 id=code>
findObject('yourLayerID').visibility = "hidden";
</font id=code></pre id=code>

--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/

Reply to this topic