Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
We’ve just launched a free newsletter you can use to keep up to date with new tutorials and articles on Nettuts+. At the end of each week you’ll get a digest of all the tutorials and articles published that week, mailed straight to your inbox. If there’s a big announcement coming, newsletter subscribers will often be the first to know.
And as a welcome for new newsletter subscribers, you’ll get immediate access to a secret tutorial we’ve never published anywhere on this site!
The newsletter is free to join and ad-free. Look for the ‘Join our newsletter!’ heading in the sidebar and join nearly 1,200 other subscribers (and counting). If you want to see a preview of the newsletter, read on!
The Nettuts+ Weekly Digest
Clik here to view.

To join, look for ‘Join our newsletter’ in the sidebar on the right!
Get an Exclusive Tutorial
-
Image may be NSFW.
Clik here to view.Writing a JavaScript Library
by Jeremy McPeak
There comes a point in many JavaScript developers’ lives when the need for an all-encompassing library isn’t needed, and a simpler, and more refined library to iron out the cross-browser wrinkles is desired. There are many libraries to choose from, but why not write your own? After all, you are the best person to determine your needs and provide a solution that fits you. But how do you do that? How do you start? How do you handle cross-browser issues?
That is what I hope to answer in this series, but bear in mind the solution presented here are just a drop in the bucket of possibilities. It is not a one-size-fits-all solution, but I hope it gives you insight of how you can approach the creation of your own library.
Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.
