Hi.
How can i known The size, top and left position when one div have a
background image using JavaScript.
In css this div:
Backgroundimage: URL......
Backgroud-repeat:no- repeat
Background position: center
Width:auto
Position: relative
Heigth:auto
I need know this to place some input text in The correct place.
Thanks.
Enviado desde mi iPhone
Enviado desde mi iPhone
El 27/05/2010, a las 13:40, Remi Grumeau <[email protected]>
escribió:
new Idea: You can open a new DIV containing the zoom image on top of
the rest, as a draggable element, that fade out when double tap on it.
No? Silly idea?
In this case, no zoom/scalable feature issue no?
Remi Grumeau
(+33) 663 687 206
http://www.remi-grumeau.com
Le 27 mai 2010 à 12:45, skip a écrit :
You are quite right. It didn't work when I tried it and no variation
I could think of did either. In the debugger I can see the maximum-
scale value change back to 1.0 but the viewport stays at the same
scale. The Apple developer documentation on the Safari viewport meta
tag makes no mention of forcing the scale to any particular value
except as the initial-scale. The user can re-scale back to "normal"
by double tapping but this won't work once you have turned the user-
scalable feature off. In fact if the user does zoom and then you
turn
the zooming off there appears to be no way to get back to normal
scaling except by reloading the app. It seems turning the zooming
off
once it is on is a bad idea.
Bad luck.
Skip
--
You received this message because you are subscribed to the Google
Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en
.
--
You received this message because you are subscribed to the Google
Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en
.
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.