I have incorporated a popup modal when clicking on my images purely with html and css. Is there anyway to close the modal when clicking outside of it so the user does not have to use just the close button?
[php]echo ‘
’;
echo ‘
echo ‘
’;[/php]
echo ‘
’;
echo ‘x’;
echo ‘
echo ‘
echo ‘
echo ‘
echo ‘
’;echo ‘x’;
echo ‘
’;
echo “<img src=”".$image."">";
echo ‘
’;echo “<img src=”".$image."">";
echo ‘
echo ‘
’;
echo “$title”;
echo “
”;echo “$title”;
echo “
echo ‘
- ’;
- Materials ’;
- Tools ’;
- Category ’;
- Skill Level ’;
- Price ’;
- Time ’;
- Tutorial by ’;
echo ‘
echo ‘
echo ‘
echo ‘
echo ‘
echo ‘
echo ‘
echo ‘
echo ‘
- ’;
- N/A ’;
- N/A ’;
- N/A ”;
- 2 ”;
- 1 ”;
- 1 ”;
- $owner ”;
echo ‘
echo ‘
echo “
echo “
echo “
echo “
echo “
echo ‘
echo ‘
echo ‘