javascript - Detecting pinch-zoom in firefox on android -
in other android browsers (chrome , default-one) pinch-zoom fires window.resize
- not in firefox : (
how detect (surely can't impossible) ?
solution: inserted (hidden) div width:100%.
, function regularly monitors div's width.
- when width in pixels changes, zoom has changed
(or orientation or screen size.. whatever): call myresize().
demo: http://krydster.dk - crossword puzzle game (danish).
Comments
Post a Comment