Quoting "Shahzad.Butt" <[EMAIL PROTECTED]>: > > I can compare this string but in future we will have different devices > then i've to change the code and put another IF. Is it only option i've > got?
It depends on *why* you want to know if the device is a handheld. If it is just for reasons of output formatting, using the media attribute of your stylesheets may be much easier. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

