Later Today: ASP.NET Tutorial 2: Introduction to C#

(jQuery) .nextOrFirst() function guarantees a selection

The .nextOrFirst() jQuery function/plugin detailed here works as an alias for .next(), except when there are no more objects for .next() to select. When this happens, .nextOrFirst() will automatically select the first element from within the same parent (essentially treating the first element as “next”).

Continue Reading this Article >>

(jQuery) Make Vimeo Embeds iPhone-friendly… Automagically!

This article demonstrates the use of a neat bit of jQuery that will automagically make your Vimeo embeds work on an iPhone or iPad.

If you’re a Vimeo user you may have noticed that the service recently added mobile compatibility to their already-respectable list of features. There is a caveat, though. This new mobile compatibility does NOT extend to videos that you embed on your site – only videos that you watch on the Vimeo website. But what if you use Vimeo primarily for embedding videos on your own site, and you want those videos to be watchable on an iPhone or iPad? Vimeos official stance is… add a link. This is *not* ideal.

Fortunately, with a creative bit of jQuery and HTML 5, we can detect mobile browsers and automatically replace Vimeo’s flash player on a webpage with an HTML 5 one when appropriate.

Continue Reading this Article >>

AJAX Tutorial 0: Core AJAX Concepts

This article introduces basic JavaScript concepts, and builds on those concepts to explain how AJAX is used and, more importantly, why. This is not an in-depth look at JavaScript, nor is it intended to be. As with all tutorials on this site, you should already be familiar with X/HTML and CSS, and have a general idea of what JavaScript is and how it’s used.

Continue Reading this Article >>
RSS Twitter LinkedIn Facebook
Doing neato things with JavaScript, please wait...