Zooming problem with form input
Hi,
I'm having problem on forms input. When focusing an input text, iphone zoom the page in but it doesn't zoom out when finished... And from time to time it zoom the page view on links too !
How could I manipulate zoom factor in scripts, is it possible ?
After reading the jquery js (jquery.mobile-1.0a3) I still can't figure out how to do...
I've found this script but it doesn't works for me :
- jQuery("input[type=text],textarea").mouseover(zoomDisable).mousedown(zoomEnable);
- function zoomDisable(){
- jQuery('head meta[name=viewport]').remove();
- jQuery('head').prepend('<meta name="viewport" content="user-scalable=0" />');
- }
- function zoomEnable(){
- jQuery('head meta[name=viewport]').remove();
- jQuery('head').prepend('<meta name="viewport" content="user-scalable=1" />');
- }
Any ideas ?
Regards
David