You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For anyone facing this issue now, I resolved it with using $(window).on('load') instead of $(document).ready().
I use this plugin together with maphilight to show my areas, and since it is 2019, I wanted to make it responsive. Obviously. Underneath the code I used. I hope it helps:
I need it to work as soon as the page is loaded but it starts working after I resize the window.
How could it work the way I need in the demonstartion (http://mattstow.com/experiment/responsive-image-maps/rwd-image-maps.html) but not in my code?
The text was updated successfully, but these errors were encountered: