pitcock
pitcock
changing the line $(window).resize(function () { to $(window).on("orientationchange", function() { works for me on iPhone but has to be tested. "orientationchange" is recommended by Apple.
this solution works for me. many thanks. a pure css solution would of course be future-proof, but i like the hoverintent integration very much.
@ArjanJ the script is very good and does what it should. the whole thing without dependencies and with a very small size. as long as you use the zero margin,...
@ArjanJ https://codepen.io/pitcock/pen/YzpPJQB
@ArjanJ have you had the time and opportunity to look at the rounding/display error?
@Arjan here is a screenshot from my MacBook Prp 15" Retina 2880 x 1800 [px] in Firefox. 