RSS Feed Notes
I was checking out my RSS feeds and noticed that my code examples weren't looking good. I'll be updating the RSS feed this weekend, hopefully by having code examples display in a <pre> instead of a <textarea> (textarea needed for the Syntax Highlighter on the site). I also noticed that there's an issue with images I put in my posts when the image SRC's aren't explicitly set to my domain.
Expect to see some resolution this weekend.
I've also added a FeedBurner feed for comments, which you can subscribe to at:
http://feeds.feedburner.com/DavidWalshComments
![Vibration API]()
Many of the new APIs provided to us by browser vendors are more targeted toward the mobile user than the desktop user. One of those simple APIs the Vibration API. The Vibration API allows developers to direct the device, using JavaScript, to vibrate in...
![Camera and Video Control with HTML5]()
Client-side APIs on mobile and desktop devices are quickly providing the same APIs. Of course our mobile devices got access to some of these APIs first, but those APIs are slowly making their way to the desktop. One of those APIs is the getUserMedia API...
![Element Position Swapping Using MooTools 1.2]()
We all know that MooTools 1.2 can do some pretty awesome animations. What if we want to quickly make two element swap positions without a lot of fuss? Now you can by implementing a MooTools swap() method.
MooTools 1.2 Implementation
MooTools 1.2 Usage
To call the swap...
![prefers-color-scheme: CSS Media Query]()
One device and app feature I've come to appreciate is the ability to change between light and dark modes. If you've ever done late night coding or reading, you know how amazing a dark theme can be for preventing eye strain and the headaches that result.