PDA

View Full Version : Some browsers not supporting Javascript ?


morrisdan1
02-12-2001, 02:52 PM
Shown below, is a Text Rotater javascript program:

Text Rotater

http://www.dansbanners.com/temporary.html

I'm wondering what should one do when a browser or even an user's preference does not support Javascript ? For instance, this Text Rotater would not show anything in a browser that does not support Javascript ?

I'm also wondering how come Javascripts seem to be popular. In spite of the fact that all the user has to do is to set it in their browser's preference not to support Javascript. Then in that case, the Javascript programs would not be executed.

So, what do many different webmasters do about this situation ? How do they work around such problems ?

I'm aware that making an animated graphic showing these same texts as shown in the text rotater is another possibility. But I thought maybe using Javascript would be more suitable as to reduce some of the page's loading time ?

Sincerely,
--Daniel

spleenboy
02-12-2001, 05:41 PM
I look at it this way: if it's important, I use something server-side to ensure that everyone gets the same.[nbsp][nbsp]If it's a frill, I'll use javascript.

For example, there's no sense in using server-push animations for image rollovers on menu items.[nbsp][nbsp]It's not essential to the content of the page.[nbsp][nbsp]But if I were going to display a banner ad or do form validation, I'd use something server-side (although sometimes I'll add in client-side stuff, too, to decrease server load.)

I'd guess that the percentage of folks w/o Javascript on their browsers at 5-10%.[nbsp][nbsp]Sometimes less, depending on your site's content.[nbsp][nbsp]

It's okay if that 5% doesn't see that smashing image of a donkey running up a hill, as long as they can submit an order form and navigate the page.

The other possibility is to make two pages, one for Javascript enabled browsers, and one for the Javascript disadvantaged browsers.
------------------
(http://www.wed-designs.com)Wed Designs, designing personalized web sites for every occasion.