Auteur : | : | Az |
Pays | : | Belarus |
Date | : | lundi 12 juin 2017, 09:12 |
Commentaire | : | If you place the two iframes side by side (with margin/padding = 0) you'll get a bug. If you click on the first iframe you'll get a message about click. If you move your mouse to the second iframe and click on it you'll also se a message about click. BUT if you'll try to move mouse to the first iframe and click again you'll get a bug. You'll never see a message about click. To solve this issue you have to add $(window).focus(); on mouseout event. // Surveillance frontière $('.iframetrack iframe').mouseover(function(){ iframe_survol = true; }).mouseout(function(){ iframe_survol = false; $(window).focus(); }); |