PDA

View Full Version : Coding for <noscript> Situations


peterinwa
11-10-2002, 05:15 PM
I read in another post that about 10% of browsers don't have JavaScript capability or don't have it enabled.

On my pages I use the <noscript> tag to put a short note on the page saying that JS is required for my website. I figure it's better than a blank page.

One of my websites is a calculator that runs in JS. I guess I could make it run on the Server Side to solve the problem of some browsers not being JS enabled. But I don't know ANYTHING about that and while HTML was a breeze, learning JS was about as much as I think I'm capable of.

My question is... do most of you just program for JavaScript enabled browsers and forget about the rest?

Gordo
11-10-2002, 07:18 PM
YES. Well, at least I do. 10%!? That's seems very high actually. According to the stats from my various web sites (1000's of users each), no more than 1% do not have JS enabled. And those tend to be the computers at "work"...especially engineering areas. They tend to run alternative OS', etc. -- more than your average user. So, that's their problem. I design for the masses. I don't worry about JS being disabled. I do, from time to time (when it's important), use the <noscript> tag to at least let them know what they're missing. This is especially helpful for DHTML menus, etc. For that reason, I almost always have a sitemap for navigation purposes. Other than that, "they" are on their own.

peterinwa
11-10-2002, 07:21 PM
I saw Willie Nelson in person!