-
How do I detect for a mobile device?
I have a standard HTML website, but I want to be able to detect when a client is comming from a mobile device, such as a PDA or a Mobile phone.
What is the best way to do this? and is it possible to determine the screen resolution of the device?
Thanks,
Fernando
-
Your weblogs MAY tell you the browser used for PDA's etc, you'd have to test it out to see.
As for resolution, this can be picked up from PC but I've not heard of it from PDA's etc
-
If you design you page using CSS the media for handhelds is unsurprizingly called handheld.
http://www.w3.org/TR/REC-CSS2/media.html#at-media-rule
Thus you don't really need to know if the visitor has a handheld or not, the handheld wll download the apropriate CSS file itself (unless it's buggy).
// Stefan Huszics
-
I think he is looking to see how many and from what they are accessing his pages.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks