Hi guys,

Something is driving me mad: Javascript event !
You can check out here : http://www.remi-grumeau.com/iphone/

See orientation
The DIV that contains the text has the class "landscape_test".

In CSS, you will see this:

body .landscape_test {
background: red;
}
body[orient="landscape"] .landscape_test {
background: green;
}

When i change the orientation of the iPhone, nothing change, but if i go
backward, then it change.
Just for the example, i put the same code on the body itself (white on
portrait, lightgrey on landscape) and it works smoothly.

Any idea ?

--

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=.


Reply via email to