You'll need to go find a list of handheld user agents and build a list/array
of keywords and search the user agent for a match. If one is found,
redirect.
cfset handHeldKeywords = Windows CE,Mobile,etc... /
cfloop list=#handHeldKeywords# index=i
cfif findNocase(i, cgi.user_agent)
I need to do a quick down and dirty retrofit of a site. Adding a
Stylesheet media=handheld will be too time-consuming.
Well, frankly, not enough devices support this to use it, if you don't know
the specific devices that will visit your site (and the capabilities of
those devices) ahead of
I need to do a quick down and dirty retrofit of a site. Adding a
Stylesheet media=handheld will be too time-consuming. I would rather do
this
server-side: if HTTP_USER_AGENT = handheld redirect to another page.
Looking around - and asking on a CSS list doesn't get me very far. I can't
be
3 matches
Mail list logo