if i had to do something like this, i would: 1) build a site that works without js (i.e. all links take user to a new page that shows requested data) 2) enhance the site with ajax (i.e. override default link actions and load data via ajax without redirects)
there's no one-liner you can put into your Application.cfc/cfm that will tell you if your user has js enabled or not. Azadi On Tue, Mar 27, 2012 at 00:59, Robert Rhodes <rrhode...@gmail.com> wrote: > > Hello again. > > I have a site that loads all the content in ajax. I also have a version of > the site that does not use ajax. > > I am looking for some code I can put in the application.cfm to test to see > if the visitor's browser supports javascipt or not, so I can load the right > version of the site. > > Any ideas? > > Thanks. > > --RR > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350547 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm