Rather than hide a message when javascript is enabled, why not add a
message if JS is not enabled? You should be able to add a cookie using
JS at the login page, and then check if that cookie exists on the
following pages in the JSP.
I don't have a code example, but I can't think of why this approach
wouldn't work and it would avoid displaying the message. The only thing
I'd be concerned with is AppFuse [and most modern webapps] relies on
Javascript to enhance the user experience. Is your plan to simply
inform people they must have JS enabled to use the app or are you making
your app work with or without JS?
Nathan
Thinkboy wrote:
hi,
should we add the javascript detection in Appfuse?
I found this implementation by CSS.
http://www.openjs.com/articles/javascript_detection_using_css.php
but the problem is that this scripts seem reacting very slowly,
therefore, I will always see the hidden off_javascript_message
"flashed" in 0.5s while loading the web page initially.
anyone is having a better solution like the one on google main page?
(i am still not very sure how Google did it, sorry!) pls advise me !
~thinkboy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]