>>Hi,
>>
>>I would like my CF to be aware that the user has Turned
>>Off Javascript and
>>react accordingly.
>>
>>I was thinking of using a JS function to set a cookie and
>>having CF look for
>>it but I guess that won't work beacuse the first time a
>>user visits the
>>cookie would not get sent to the server since the page
>>that makes it has not
>>yet executed.
>>
>>Does anyone out there have any clever ideas on this?
>>
>>I guess the other problem is that they may have cookies
>>turned off too.

No need to go to the trouble of using JS to determine if javascript is
enabled...

<body>
  <noscript>
    JavaScript is disabled.
  </noscript>
</body>

The noscript tags are great -- I use them in my login form to hold a
hidden input element so that after the user logs in to the application
behavior can be tailored more effectively for their browser. For pages
that can be viewed by people who aren't logged in I just try to create
interfaces that degrade gracefully with JS disabled in a fashion more
typical of common web sites/apps. Once they've logged in then I can be
bold and use things like my js tree widget, knowing that if they've
disabled javascript the tree won't collapse any of its branches.

s. isaac dealey     954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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

Reply via email to