hnarayanan / femtable

Web rendition of the periodic table of the finite elements.
http://www-users.math.umn.edu/~arnold/femtable/
7 stars 5 forks source link

dismiss pop-ups with a click #33

Closed dnarnold closed 9 years ago

dnarnold commented 9 years ago

This is a minor point for consideration. Is there any reason to require the user to click on the "x" in the corner of the pop-up to dismiss it, rather than allowing a click anywhere in the pop-up (and so not needing the "x" at all)?

hnarayanan commented 9 years ago

The behaviour is quite common for popups on websites. You can either click the 'x', or anywhere outside the popup to return to the table.

hnarayanan commented 9 years ago

One would want to be able to click within the popup and not accidentally close it, e.g. if you wanted to select the FEniCS code to copy and paste.