header
 
     
 
pixel
pixel pixel

Planning for disabled javascript

Don't depend on javascript so heavily that your web design won't work if javascript won't run on a visitor's browser. For example:
  1. 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. Don't use Javascript redirects - you can use PHP or HTML to do the same thing.
  4. If you 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.

Unhelpful Helpful Rating 1.7 (score out of 5, no. of ratings: 15)
Comments
Comment by Warren on 2004-07-15
Javascript redirects are fine if you also include a plain link for those who have Javascript turned off.

Comment by danl01 on 2010-09-11
http://menssneakers.journalspace.com

Comment by danl01 on 2010-09-11
http://menssneakers.journalspace.com

Comment by Chartric on 2011-05-22
This has made my day. I wish all psotigns were this good.

Post a Comment
Name
Email
(optional)
Comment
RatingUnhelpful Helpful
Security Image* (this is just to prevent spam submissions)
Security Image