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:

if (screen.width > 640) {
// your code
}

kind regards
Terrence Wood


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to