Answer the question
In order to leave comments, you need to log in
How to solve popup blocking problem in facebook js sdk?
After switching from connect.facebook.net/en_US/all.js to connect.facebook.net/en_US/sdk.js, there was a problem with authorization - the browser blocks the pop-up window. I found this information in the documentation
Calling FB.login results in the JS SDK attempting to open a popup window. As such, this method should only be called after a user click event, otherwise the popup window will be blocked by most browsers.
Answer the question
In order to leave comments, you need to log in
Here, there are probably no ready-made solutions.
The best option is to make the map in svg. Layers are also there to make - each country is a separate path. pinky, probably also in svg. The hover magnifier is a javascript zoom with clip mask image css. In general, not the fastest and simplest thing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question