I have a Highslide plugin on my webpage with basic popups, what I need is that when a user clicks outside all the open popups should close.
Tried this but without luck:
hs.close();
On
This might help: http://forum.highcharts.com/highslide-js-usage/multiple-hs-close-t22148/
But if you're not using a dimming background, clicking outside of an expander won't close it. How could it? You might be clicking on another thumbnail to open it - it can't tell the difference.
After doing some research in my console I came up with this solution and is working pretty fine..
And you can also have a check if the clicked element is another thumbnail or not..