pitcock

Results 6 comments of 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. ![Bildschirmfoto vom 2021-02-12 um 13 08 25](https://user-images.githubusercontent.com/28976674/107766593-f7052000-6d33-11eb-9812-345f13dd2a4f.png)