JavaScript Tutorials
JavaScript Arrays: The Difference Between [] and { }
Using Moo 1.2 has taught me a lot about JavaScript. Of course, that means I've made a lot of mistakes but that seems to be the best way for me to learn. While browsing the Moo source, I'd always wondered the difference between arrays...
Prevent Internet Explorer’s Default Image Dragging Action
Since the web is moving more and more toward a drag and drop world, it's important to prevent Internet Explorer's default dragging action when attempting to drag an image. JavaScript makes this possible. Using MooTools Happy dragging and dropping!
Creating a JavaScript “Set As Homepage” Link
The unfortunate part about creating websites for customers is that no matter what recommendation I make, if they want it, I have to give it. Thus is the case with recently adding a "Set As Homepage" link to a customer's website. Homepages are much...
Learning Ternary Operators — Tips & Tricks
I started using ternary operator logic about six months ago and notice myself using shorthand if/else logic all the time. It shortens my code, the time to write it, and makes me look smarter to the mustaches.Thanks to Google Analytics, I've found that I receive...
SXSW: Secrets of JavaScript Libraries
I've not had the pleasure to go to South by South West but I've heard it's a great time for those in the tech industry. A few of the more popular names in the JavaScript community, representing prominent JavaScript libraries (Dojo, jQuery, and Prototype/script.aculo.us), recently...
How to Sniff & Disable Firebug
If you're a hardcore Web Developer like me, you're probably well aware of the excellent Firefox plugin known as Firebug. Firebug's built in tools for monitoring and debugging CSS, HTML, and JavaScript/AJAX can improve development time efficiency exponentially. As great as Firebug is...
MooTools Zebra Tables Plugin
Tabular data can oftentimes be boring, but it doesn't need to look that way! With a small MooTools class, I can make tabular data extremely easy to read by implementing "zebra" tables -- tables with alternating row background colors. The CSS The above CSS is extremely basic.
DWRequest: MooTools 1.2 AJAX Listener & Message Display
Though MooTools 1.2 is in its second beta stage, its basic syntax and theory changes have been hashed out. The JavaScript library continues to improve and become more flexible. Fellow DZone Zone Leader Boyan Kostadinov wrote a very useful article detailing how you can add a...
Use JavaScript to Change the Window Status Message
Though I don't normally recommend modifying the browser's default behaviors, changing the window's status bar does have its place. The window status bar can pass descriptive information about the element the user is hovering over or can hide the URL from users that don't understand...
GWT Ext 2.0 Released…and It’s Stupid! (Cool)
Version 2 of GWT Ext has been released and it's insane! The collection of form, table, and numerous other controls are absolutely memorizing. Even if you have your framework picked out or even if you don't care about JavaScript, check out the