Planning our web pages for disabled javascript

Planning our web pages for disabled javascript

We should not depend on javascript so heavily that our web design won’t work if javascript won’t run on a visitor’s browser. For example:

1. We can use a <noscript> option that offers the same functionality without Javascript

2. If possible, perform the same function using server-side scripting (eg - PHP, ASP) instead.

3. We do not use Javascript redirects - instead we can use PHP or HTML to do the same thing.

4. If we use Javascript in links (eg - to provide drop-down navigation menus upon mouse-over), also have the text hyperlink (eg - the mouseover area that activates the drop-down menu) actually linking to a page.

Leave a Reply

You must be logged in to post a comment.


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.