Using Javascript on my website

M

Michael Landberg

Hi

I am crewating a website using HTML and Javascript. The website can be
seen by everybody that has internet. Do I have to consider that some
people don't have javascript enabled in their browsers?? I mean If
someone has disabled javascript they wont see some part of the
website.

Regards
 
R

RobG

Michael said:
Hi

I am crewating a website using HTML and Javascript. The website can be
seen by everybody that has internet. Do I have to consider that some
people don't have javascript enabled in their browsers??

Yes, somewhere around 5% to 15%.

Visit ZDNet with Firefox and Firebug or Safari and you will soon see
why people turn Javascript off (I do). If your site is dysfunctional
without scripting, be prepared to lose about 10% of visitors.
 
M

Michael Landberg

Yes, somewhere around 5% to 15%.

Visit ZDNet with Firefox and Firebug or Safari and you will soon see
why people turn Javascript off (I do). If your site is dysfunctional
without scripting, be prepared to lose about 10% of visitors.

Hi

I just visited ZDNet with firefox but could not see any irritating or
strange things. What should I have seen?
Is there a good alternative for javascript? I use javascript to
validate fields. Is that possible in HTML? or another simple way?

Regards
 
T

The Magpie

Michael said:
Hi

I am crewating a website using HTML and Javascript. The website can be
seen by everybody that has internet. Do I have to consider that some
people don't have javascript enabled in their browsers?? I mean If
someone has disabled javascript they wont see some part of the
website.
Well yes - obviously you have to. People without Javascript will
account for between 10% and 20% of visitors to your site.
 
T

Tom Cole

Hi

I just visited ZDNet with firefox but could not see any irritating or
strange things. What should I have seen?
Is there a good alternative for javascript? I use javascript to
validate fields. Is that possible in HTML? or another simple way?

Regards

Your server side code should also perform input validation (never
assume that your javascript will catch it) and upon failure simply
return back to the referring page. Then it really doesn't matter if
javascript is on or off. If it's on, great it gets caught on the
client. If it's off, the server will still handle it and return.
 
C

countach

En las nuevas, el Michael Landberg escribió:
Hi

I am crewating a website using HTML and Javascript. The website can be
seen by everybody that has internet. Do I have to consider that some
people don't have javascript enabled in their browsers?? I mean If
someone has disabled javascript they wont see some part of the
website.

Regards

....and dont forget the ability of browse your site using that rudimentary
browsers in the mobile phones.
None of them has Javascript.
 
D

Dr J R Stockton

In comp.lang.javascript message <[email protected]
oglegroups.com>, Tue, 20 Mar 2007 01:36:20, Michael Landberg
I am crewating a website using HTML and Javascript. The website can be
seen by everybody that has internet. Do I have to consider that some
people don't have javascript enabled in their browsers?? I mean If
someone has disabled javascript they wont see some part of the
website.

Not necessarily.

You could provide a site which was fully readable without script, but
which had additional site-navigation using script.

You could add a processing facility which they could see but not use.

You could even arrange that part of your site was only accessible (by
obvious means) to those who had scripting OFF.


Design your site so that it is worthwhile both with and without script;
and so that those who visit both with & without script don't get
confused by the differences. What and how you do depends on the general
nature of the site - remember that some who respond here will know only
of programming commercial sites for selling products directly /
indirectly, whereas others produce entirely different sites.

It's a good idea to read the newsgroup c.l.j and its FAQ. See below.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top