JavaScript Tutorials
JavaScript: The Good Parts
I just wanted to give everyone a heads up that O'Reilly will be hosting a training session with JavaScript expert Douglas Crockford on March 30th in San Fransico. From the website: In this Master Class, JavaScript expert Douglas Crockford will scrape away the language's bad...
Prevent Your CSS and JavaScript Files From Being Cached
Some websites use highly volatile, oft-changing CSS and JavaScript files. In the case of these files, it's important that the developer prevent browsers from caching them. How do we do that? By using a phantom querystring, of course. We'll use PHP to...
jQuery Code Documentation Favelet
My jQuery knowledge isn't quite to the level of my MooTools so I rely quite a bit on the jQuery documentation. When I look at articles with jQuery code in them, I'll periodically see functions I hadn't seen before and want to learn...
Sizzle and Peppy Selector Engines in MooTools
A few weeks back I touched on how you could implement the Peppy and Sizzle selector engines in MooTools. Both posts showed how to remove the default Moo engine from use and instead make each respective selector engine the one and only.
iPhone & iPod Detection Using JavaScript
I was browsing the ESPN.com source code recently and stumbled upon their method of detecting iPhone / iPod touch users and redirecting them to their iPhone-compatible website. The JavaScript The code itself is short and sweet. I, however, would prefer using the server-side method of user agent...
Script & Style Revamp with Submission Favelet
It's been six months and some change since the launch of Script & Style and the website is doing extremely well. Traffic continues to rise, our RSS feed subscriber count is close to 4,000, the submissions continue to be quality, and we're slowly adding...
MooTools PulseFade Plugin
I was recently driven to create a MooTools plugin that would take an element and fade it to a min from a max for a given number of times. Here's the result of my Moo-foolery. The MooTools JavaScript Options of the class include: min: (defaults to .5) the...
Peppy and MooTools
This post has been updated after more tinkering and testing. A while back James Donaghue boasted his new selector engine Peppy. Lets say for giggles that we wanted to use MooTools and Peppy together. Here's how I got things to work. The JavaScript I have no...
Get a URL’s de.licio.us Count Using JavaScript
When I put together my new theme, I made it a goal to integrate more of the social bookmarking websites. The benefit to me is that my articles and website will get more attention. The benefit to you is that you can save /...
Create a TinyURL with PHP
TinyURL is an awesome service. For those who don't know what TinyURL is, TinyURL allows you to take a long URL like "https://davidwalsh.name/jquery-link-nudging" and turn it into "http://tinyurl.com/67c4se". Using the PHP and TinyURL API, you can create these tiny URLs on the fly! The PHP Simply...