Hide a target layer with a button on that same layer?

I’m trying to make a simplified simulation of the little lightbox funtionality found on pages like this: macOS - Photos - Apple

This is for an exam practice page. When a user clicks the “Check answers” button, a small “window” pops up to give their score on the practice exam. This window needs to have 2 or 3 buttons in it, which, among other things, close the window they are contained in (like the little X in the top left on Apple’s page).

I’ve set this up as a simple target layer, with the “Check answers button” causing the target layer to appear, but Freeway doesn’t appear to let me hide the layer with a button contained in the same layer that’s being hidden. Am I trying something impossible here? Thanks!


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