Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Article Discussions

Discuss the articles posted on Dev.Opera.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By ppkoch anchor Tuesday, 3. February 2009, 06:38:38

43: The principles of unobtrusive JavaScript

Unobtrusive JavaScript refers to JavaScript that is used to enhance usability and improve the user experience on a web site, but isn't essential for functionality to work. The web site should work ok when JavaScript isn't supported in the user's browser, which will be the case with some users. In this article PPK explores the concept fully, providing multiple examples to help you master it.

( Read the article )

By AndBre anchor Wednesday, 11. February 2009, 15:39:02

avatarTypo: "far easier to maintain that scripts that"

By patrickhlauke anchor Monday, 16. February 2009, 00:15:12

avataralthough it's probably not the point of the article, i'd suggest a slight simple change.

window.open(this.href,'popup','arguments');
return false;

now, i haven't checked if this is still relevant, but i used to traditionally only return false if the window.open has indeed succeeded in popping up a new window and the function returns true...so something like

return !window.open(this.href,'popup','arguments');

(but i can see how this may confuse readers just starting out...though it could be added as a note or something?)

By skym1980 anchor Monday, 13. July 2009, 08:21:51

avatarJust made an account only to say that the "The third category will be treated in a separate article." link does not go anywhere. Well, to a 404 page anyway...

Moderators: pepelsbey | dstorey | mcx | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom