Kristof
Kristof

Reputation: 314

How to detect orientation change in IEMobile 7 with Javascript?

is there a way I can detect an orientation change in Internet Explorer Mobile 7? Since no orientationchange event is firred I guess the only way is to look wether the screen width has changed?

Perhaps someone has a better idea :)

Upvotes: 1

Views: 756

Answers (1)

Derek Lakin
Derek Lakin

Reputation: 16319

Assuming that you mean from a web page, not from an application, then no there's no way to detect the orientation change directly, but as you suggest, you could detect the screen width change instead.

Upvotes: 0

Related Questions