954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Some advice appreciated

Hi

My name is Phil and I live in Lincolnshire.UK. I've been designing websites mainly as a hobby for 2-3 years mainly using Frontpage 2003.

I'm very interested in getting to grips with Javascript and have just bought a few second hand books to study and put into practice.

The main point I need to clear up (in my head) is this: If a visitor to my site doesn't have Javacript - they can't see the effects that I've written but will see an invite to download it (?)

What if they don't want to download?- can they still see the rest of the page - or do I need to give them an alternative? :(

I'm sorry if this a really stupid question - but it's really bugging me and I need to know before I can progress.

Many thanks

Phil

montysden
Newbie Poster
1 post since Feb 2006
Reputation Points: 10
Solved Threads: 0
 
Hi The main point I need to clear up (in my head) is this: If a visitor to my site doesn't have Javacript - they can't see the effects that I've written but will see an invite to download it (?)

No. They'll simply get errors. The overwhelming majority of users have JavaScript enabled. In over a decade of programming on the web, I can probably count on my fingers the number of problems I've had with my sites due to users not having JavaScript.

It's nice to be aware of the problem, but I wouldn't let it worry you.

tgreer
Made Her Cry
Team Colleague
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
 

According to the W3Schools, 90% of users have javascript enabled:
http://www.w3schools.com/browsers/browsers_stats.asp

I agree that it shouldn't be much of a problem as long as you don't rely on javascript for important stuff, such as input validation, that for security purposes should always be performed on the server (you can have something on the client to speed up the process, but the iron walls needs to be on the server).

Esopo
Junior Poster in Training
50 posts since Feb 2006
Reputation Points: 14
Solved Threads: 1
 

It depends how you code. You can work into your code to detect JavaScript capability, and to downgrade nicely for those few who don't. Based on my server statistics on the billions of DaniWeb visitors, well over 99% have JavaScript enabled. The few who don't are mostly using WebTV or a PDA / Palm to surf the web.

cscgal
The Queen of DaniWeb
Administrator
19,427 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You