2009/7/14 Dirk-Willem van Gulik <di...@webweaving.org> > Try a search for UAProf and Wurfl. The latter is prolly simplest. It is a > centrally maintained file. Fetch the XML file at > https://sourceforge.net/projects/wurfl/files/ regularly - and preparse - > or use the sample code. > > > (Who is now wondering if we should make this an even easier/'free-er' > service on PAL & Forge).
That will be me. > > > Brian Butterworth wrote: > > The problem I had with Javascript before was that quite a lot of time it >> is disabled, and that it is usually better with mobile devices to sort >> all the formatting out on the server, as almost every mobile browser I >> know sucks. >> >> 2009/7/14 Richard Lockwood <richard.lockw...@gmail.com >> <mailto:richard.lockw...@gmail.com>> >> >> Maybe I've missed the point here, but: >> >> <script type="text/javascript"> >> document.write(screen.width+'x'+screen.height); >> </script> >> >> Or is that not reliable? >> >> Cheers, >> >> R. >> >> On Tue, Jul 14, 2009 at 3:09 PM, Brian >> Butterworth<briant...@freeview.tv <mailto:briant...@freeview.tv>> >> wrote: >> > Hi, >> > I've been looking at adapting some sites to work better on mobile >> devices. >> > I can do the stripping down everything to text and minimal >> graphics and so >> > on, that's the easy bit. >> > Does anyone know of anything reliable that can tell me the width >> in pixels >> > of the device? >> > I was hoping that Glow would cover this, but it does't. >> > -- >> > >> > Brian Butterworth >> > >> > follow me on twitter: http://twitter.com/briantist >> > web: http://www.ukfree.tv - independent digital television and >> switchover >> > advice, since 2002 >> > >> - >> Sent via the backstage.bbc.co.uk <http://backstage.bbc.co.uk> >> discussion group. To unsubscribe, please visit >> http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html. >> Unofficial list archive: >> http://www.mail-archive.com/backstage@lists.bbc.co.uk/ >> >> >> >> >> -- >> >> Brian Butterworth >> >> follow me on twitter: http://twitter.com/briantist >> web: http://www.ukfree.tv - independent digital television and >> switchover advice, since 2002 >> > > - > Sent via the backstage.bbc.co.uk discussion group. To unsubscribe, please > visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html. > Unofficial list archive: > http://www.mail-archive.com/backstage@lists.bbc.co.uk/ > -- Brian Butterworth follow me on twitter: http://twitter.com/briantist web: http://www.ukfree.tv - independent digital television and switchover advice, since 2002