Re: [WSG] Javascript to check for Handheld Devices

2007-03-02 Thread TuteC
Once I saw a Nokia trying to serve a wide (media=screen) CSS, I solved it using a media=handheld stylesheet, almost empty. It would be a problem if these little devices are trying to load the 'screen' sheet, do you have handheld specific defined sheets in your code? Sorry to ask, but if it

Re: [WSG] Javascript to check for Handheld Devices

2007-03-02 Thread Nick Fitzsimons
On 2 Mar 2007, at 14:15:31, TuteC wrote: Once I saw a Nokia trying to serve a wide (media=screen) CSS, I solved it using a media=handheld stylesheet, almost empty. It would be a problem if these little devices are trying to load the 'screen' sheet, do you have handheld specific defined sheets

[WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Lee Powell
Hi I'm currently developing a stylesheet for handheld devices. However while testing I have noticed that the javascript I've written for screen browsers is still being implemented while testing with handhelds, causing a few problems. Does anyone have any advice on how I can check if the

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Tim
Will major search engines for phones take any notice of javascript? Google http://www.google.com/xhtml/ Ask http://m.ask.com/ They ignore stylesheets even if you make one for small screens! They strip the page headers of meta tags, linked javascript gone is my guess? Should we give up making

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Barney Carroll
Tim wrote: My meta tag base href were taken out of pages by ask.com the mobile version http://m.ask.com/ This allowed them to run my site by relative URLs on their server with fake paypal links en all. Jesus, that's horrible! Excuse my ignorance. It seems then, that all the best

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Tim
They know better I recokon (Aust drawl accent LOL) All we have to do is validate and accesibilitise :-) No, sorry Barney for the pun, I hate the reality I want to make mobile phone stylesheets that will be observed. Javascript and anything else as the Guttenberg designer said to the Pope Tim

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Terrence Wood
On 1/03/2007, at 10:25 PM, Lee Powell wrote: Does anyone have any advice on how I can check if the device accessing the page is handheld or screen and offer up the relevant javascript? Best bet - create a mobile specific domain... failing that you could test for an arbitrary property:

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Mordechai Peller
Barney Carroll wrote: Excuse my ignorance. It seems then, that all the best opportunities for designers to optimise for small devices and screen readers are being usurped by the developers. Do they really know better? In most cases, sadly they do. The vast majority of sites can't be viewed

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread David Storey
This should not happen with Opera browsers (Opera Mini and Opera Mobile). We specifically ask Google and other search engines not to give us transcoded results when our users search using their search engines. If they do then it is a bug and we want to know about it so we can ask them to

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Rob Crowther
David Storey wrote: For styling the page handheld stylesheets should be used. For JavaScript issues I don't know of a way to specifically detect if it is a handheld, and browser sniffing is far from ideal on mobile due to many reasons. Could you give an element a specific style in the

RE: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Paul Bennett
Hi David, In my experience, you can't guarantee that a mobile device will be a full fledged 'browser' (like Opera mini or Safari for the iPhone), so you don't know if JS will be supported on a handheld device. This may be less likely now, but is still valid. Example: About 3 - 4 years ago I

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Ben Dodson
Search Engines don't read JavaScript but the question wasn't about search. Lots of mobile devices think that they are actually screen browsers so this may be causing some problems - My phone (Nokia N73) has 2 browsers; one that reads handheld sheets and one that reads screen sheets. Can I

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Michael MD
No idea if it would execute in whatever handheld browser is needed, and my brief research indicates this style grabbing in javascript is a bit flaky cross browser even on the desktop, but you might be able to hack something together that works a lot of the time. flaky would be an

Re: [WSG] Javascript to check for Handheld Devices

2007-03-01 Thread Marghanita da Cruz
FYI, apologies, if it this has already been posted here, From: Dominique Hazael-Massieux [EMAIL PROTECTED] (sorry for cross-posting, please follow-up on [EMAIL PROTECTED]) Hello Mobile Web Fans, The recently chartered Mobile Web Test Suites Working Group [1] is seeking public feedback on one