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

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -