2nd click to turn off a target show/hide

I have an image with rollover/click set to trigger visibility on another image, using target show/hide image. This works as intended, to reveal the hidden image when the first is clicked.

What I’m wondering is if there’s a way to set it up so a second click switches that target show/hide image OFF again.

In other words - each click toggles ON or OFF for the hidden image. I have “restore” set to “yes” on both, but that doesn’t seem to work as it’s not an actual rollover trigger.

It’s just an Easter Egg - some people might like it to go away after discovering it (without reloading the page).


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

Not with the Actions, no. You could hand-roll an effect like this with the Observer Action or Protaculous 2, and you would use the toggle() effect on the element to switch its visibility on a click event.

Walter

On May 2, 2013, at 5:09 AM, Karen E wrote:

I have an image with rollover/click set to trigger visibility on another image, using target show/hide image. This works as intended, to reveal the hidden image when the first is clicked.

What I’m wondering is if there’s a way to set it up so a second click switches that target show/hide image OFF again.

In other words - each click toggles ON or OFF for the hidden image. I have “restore” set to “yes” on both, but that doesn’t seem to work as it’s not an actual rollover trigger.

It’s just an Easter Egg - some people might like it to go away after discovering it (without reloading the page).


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


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

Thanks Walter, that’s what I suspected… Since it’s such a small wish, it currently isn’t worth pursuing as far as doing something custom - though I appreciate the suggestions, and may reconsider it sometime down the road.


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