slugbucket / crossword-hints

Python Flask web application to aid decipherment of cryptic crossword clues for known setters
GNU General Public License v3.0
1 stars 0 forks source link

Add a help button next to solution type list for popup showing the type descriptions - feat0024 #16

Closed slugbucket closed 4 years ago

slugbucket commented 5 years ago

Trying to remember what solution type to apply for a particular answer can be confusing and it is easy to select the wrong option. A help button that pops up a modal box listing the types and their descriptions.

slugbucket commented 4 years ago

This could be a bit tricky because the macro used to display the solution type list wraps the select element in a styled div, but it might be possible to do something in CSS to include the help button.

slugbucket commented 4 years ago

Against expectations CSS and JavaScript added to display a modal dialog listing the name and description fields for the solution types. Thanks in no small part to suggestion at https://www.w3schools.com/howto/howto_css_modals.asp