Quoting Tom Ha <[email protected]>: > > Hi there, > > Rails has fantastic Javascript helpers, which I have immediately used > for my website. > > Since some features of my website now rely 100% on Javascript being > enabled in the user's browser, I now need a way to either: > a) block the usage of the site when Javascript is disabled, or > b) display a very visible message that tells the user to enable > Javascript. > > Has anybody good ideas for a plugin (or some other solution) to check if > Javascript is enabled and to then let the user know? >
There is a <noscript> tag in HTML that does what you want. http://www.w3schools.com/TAGS/tag_noscript.asp HTH, Jeffrey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

