Link Details

Link 49360 thumbnail
User 111696 avatar

By bloid
via chromasynthetic.com
Published: Oct 24 2007 / 03:20

I’m sure you’ve heard of unobtrusive JavaScript before. But do you use it? I admit that in my early days I hadn’t and only started to once I began using Mootools. It is possible to create unobtrusive JavaScript without a library, but you’re better off using something like DOM Assistant if you’re not already using a library. Even with all the modules, it’s only 10 kb compressed. That should allow you to easily do all the things you could with a full-fledged library. It the examples below, I’ll be using Mootools. Look for equivalents for your library.
  • 14
  • 1
  • 1035
  • 520

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.