Using css media queries is not necessarily the correct answer for responses to smartphone requests. Media queries form part of the toolkit which comes under the banner of 'Responsive Web'. The problem with media queries on their own is that you may ask a smartphone to download a large image and hence incur an expensive phone bill only to let the smartphone shrink the downloaded image to fit on the screen. It would have been better to download a smaller image in the first place.

I believe what is needed is something that analyses the browser request as it enters the server and different page designs generated according to the actual browser device dimensions.

Actually, this very question has been on my mind for a little while and I'm glad someone else (Mili) has asked first!

The last time I looked into this the best way of detecting the capabilities of the browser was WURFL: -

  http://wurfl.sourceforge.net/

And to learn a bit more about why media queries are not necessarily the best answer: -

http://www.delicious.com/redirect?url=http%3A//www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/

Regards,
David Legg


On 26/12/2011 22:33, Stefan Lindner wrote:
This is a css case. Just query the web for "css media query" and you will find 
lots of examples for resolution dependant css styling.

-----Ursprüngliche Nachricht-----
Von: mili [mailto:mili...@yahoo.de]
Gesendet: Montag, 26. Dezember 2011 17:33
An: users@wicket.apache.org
Betreff: adjust my web application for smartphone like iPhone

I want to adjust my web application for smartphones. have wicket a function, 
who the app can ajust automatically the size of the content.

Thank you for your Help!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to