• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is noscript tag user frieldly enough?

 
Namitha karupaiya
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to display a message when javaScript is disabled in the browser. I do not want to display the contents of my page (except that message) when javaScript is disabled.

I aware that I can use noscript tag to display a message if javaSCript is disabled, but how to hide the contents of the page when javaScript is disabled?

Thanks.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would have to have JavaScript show it all and have the initial state hidden.

When you see stats saying 10% of surfers have JavaScript disbaled. A good portion of that traffic is spiders that are indexing sites for search engines. They do not follow JavaScript links and such. So if that matters to you, you need another solution.

Eric
 
Namitha karupaiya
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to request the browser to reload another page if jacaScript is diasbled?

Thanks.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can only go the other way around, if JavaScript is enabled you can move to another page.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic