# show hide layer

**URL:** <https://discourse.softpress.com/t/show-hide-layer/15423>\
**Category:** Freeway\
**Created:** [October 25, 2012, 7:59am UTC](https://discourse.softpress.com/t/show-hide-layer/15423 "2012-10-25T07:59:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Verbruggen](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/e495f1/32.png) [@David\_Verbruggen](https://discourse.softpress.com/u/David_Verbruggen)\
**Post date:** [October 25, 2012, 7:59am UTC](https://discourse.softpress.com/t/show-hide-layer/15423/1 "2012-10-25T07:59:58Z")

</div>

Hi,

I have a problem with showing and hiding layers. I want to start with a visible layer and hide it with the rollover action and on the same time showing another layer.

How do I do this?

Thanks,  
David

[http://www.rhmusic.be/overmij.php](http://www.rhmusic.be/overmij.php)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [October 25, 2012, 9:17am UTC](https://discourse.softpress.com/t/show-hide-layer/15423/2 "2012-10-25T09:17:00Z")

</div>

You dont need to hide 1 layer when showing the other.

Instead show the top layer with a black background so that you cannot see the first layer underneath.

David

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [October 25, 2012, 9:38am UTC](https://discourse.softpress.com/t/show-hide-layer/15423/3 "2012-10-25T09:38:19Z")

</div>

Sorry - I didn’t realise you had an image that you wanted to show behind like this [http://www.deltadesign.co/showhide.html](http://www.deltadesign.co/showhide.html)

1 layer is initially Visible and Restore Toggle the other is initially Hidden with Restore Toggle

D

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_Verbruggen](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/e495f1/32.png) [@David\_Verbruggen](https://discourse.softpress.com/u/David_Verbruggen)\
**Post date:** [October 25, 2012, 7:20pm UTC](https://discourse.softpress.com/t/show-hide-layer/15423/4 "2012-10-25T19:20:53Z")

</div>

is it possible to make a button that hides layer 1 and shows layer 2 and if I click on another button layer 1 appears back and layer 2 hides again.

[http://www.rhmusic.be/overmij.php](http://www.rhmusic.be/overmij.php)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [October 25, 2012, 8:04pm UTC](https://discourse.softpress.com/t/show-hide-layer/15423/5 "2012-10-25T20:04:44Z")

</div>

Visit the example again [http://www.deltadesign.co/showhide.html](http://www.deltadesign.co/showhide.html)

The second button is a duplicate of the first.

D

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_Verbruggen](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/e495f1/32.png) [@David\_Verbruggen](https://discourse.softpress.com/u/David_Verbruggen)\
**Post date:** [October 25, 2012, 8:07pm UTC](https://discourse.softpress.com/t/show-hide-layer/15423/6 "2012-10-25T20:07:46Z")

</div>

Hi,

Thanks but button on should only show and hide layer 1 and no toggle. and button 2 the same.

So when I click on butten 2 the first layer has to disappear and when I click on button 1 the first layer has to appear? And the same for the other buttons.

David

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [October 26, 2012, 1:17am UTC](https://discourse.softpress.com/t/show-hide-layer/15423/7 "2012-10-26T01:17:37Z")

</div>

I dont think it can be done with 3 buttons and 3 states with the vanilla Show/Hide

Different buttons cannot change 2 different Target# at once.

They can toggle layers on/off

D

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)
