After a bit more testing, I found that my Treo 300 does not support
<style media="handheld">.

That is sad because I wanted to use xhtml and css to display certain
content based on the device.

Now, I think I will just fall back on dynamically displaying portions of
content based on device type.

My plan is to check the cgi.http_accept variable for the existence of
"vnd.wap."  I will also assume that these devices will also accept
"text/html".

Am I way off-base by making these assumptions?  My Treo is 3-4 years old
and it accepts both of these types, so I'm pretty confident that most
newer phones also support, at least, these same types.

Now, I just need to determine if I should create a totally separate area
for mobile and duplicate some code or just use in-line conditional logic
to "turn on/off" portions of content... Hmmm, more testing.

Thanks
M!ke

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:154838
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to