Life is Like a Box of Javascript Variables
Let’s take a minute and swim in the muddy waters of variable declaration and naming in Javascript. Have you ever opened a box of chocolates full of delicious sweet wonderment only to realize that the...
View ArticlejQuery last array element applies to all?
Has this ever happened to you? You are looping through arrays in javascript – creating elements on the fly and adding events only to find out all events seem to be triggering the intended actions of...
View ArticlejQuery Miniature Plugin – Custom First Letters
I came across the jQuery Miniature plugin over the weekend as I was building out a print-like design template. jQuery Miniature is a simple plugin that applies an inline span tag with a couple of...
View ArticleColour Clock – jQuery/CSS3 rebuild
The original Colour Clock is a brilliant idea by Jack Hughes representing time as a hexadecimal value. I rebuilt The Colour Clock using jQuery/CSS3. Check it out at www.joelpeterson.com/clock
View ArticleNested script tags. Javascript begets Javascript
The need may arise where you need javascript to write javascript. This shouldn’t be a problem so long as javascript doesn’t become self aware. But take heed when writing nested script tags or you could...
View ArticleValidating input: Does a Double Byte Character exist?
I have traveled up and down the JavaScript form validation road quite a few times. If it was a toll road – I’d be broke. A few weeks ago I came across a new bump in that road. I was asked if I could...
View ArticlejQuery/CSS3 Clock Getting Some Love
It has been fun and exciting to watch the viral effect of the jQuery/CSS3 Colour Clock Rebuild ripple across the internet. On April 18th Webdesigner Depot featured the clock in What’s New for Web...
View ArticleHeroize jQuery Plugin
The Heroize plugin generates a customizable animated hero/feature pane for use on your site. Features include play/pause toggle jump to pane buttons keeps code clear and optimized for search engines...
View ArticleExtending jQuery’s slideToggle() Fading Absolutely Positioned Children
jQuery’s native slideToggle function generates an undesirable effect when applied to a DOM element containing absolutely positioned children landing on or outside the parent’s boundaries. At the...
View ArticleUsing hitCallback in Google Analytics with ga.js
I recently ran into an interesting issue in Google Analytics – I wanted to track an event and then immediately direct the browser to a different page. Easy right? The problem was when the event...
View Article
More Pages to Explore .....