This is particularly useful for forms targeting mobile browsers (such as iPhone or Android, since you can then use the field itself as a label) – or forms where you want to include some “example text” in certain fields. It’s a very clean, intuitive way of improving the usability of any web form.Continue Reading this Article >>
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 >>
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 >>
This article introduces the use of forms in an ASP.NET webpage. Before you begin, you should already have a basic understanding of HTML form elements. If you need a refresher, we will briefly discuss the use of classic form elements on an ASPX page, but the focus of this article will be on the use special ASP.NET form elements.Continue Reading this Article >>