Contact Me


Recent Posts


Categories


Archives


Tags

3d actionscript Actionscript 2 Actionscript 3 api APIs as2 as3 brand carousel channel code compress contest contract CSS Flash flv fp10 free gadget gadgets gdata google JavaScript jquery mvc papervision papervision3d PHP player playlist proxy puremvc pv3d Python search tube tutorial twitter video widget XML you youtube

Links


Help end world hunger

Posts Tagged “jquery”

Introducing Vid – A jQuery Plugin For All Your Video Embedding Needs

Sunday, November 1st, 2009

It all started with a tweet:

@tensafefrogs: Cleaning up the YouTube embed code a bit: http://bit.ly/3oA4yM

I replied to Geoff saying ‘why not use javascript?’ to which he said: ‘because we want to be compatible with many (every) publishing platforms, and many of them don’t allow javascript’.

So that got me thinking, why not create a simple and small jQuery plugin for embedding videos… So I did…
(more…)

Adding the “Safari” Style Search Box to Your Site

Friday, August 7th, 2009

So recently I published a post that contained a quick and simple browser detection snippet for jQuery. In that snippet, I accidently left a reference to a function called “initSafariSearch()”.

This function simply replaces the standard boring input text box with the nice Safari style one.
(more…)

Quick jQuery Browser Detection Snippet

Thursday, July 16th, 2009

Update: I’ve added a little example below…

As most of you know there lurks browsers that we don’t really like building web sites for (*cough* Internet Explorer) and there comes a time in any developers work when they need to detect browsers. jQuery has a really nice API for detecting browsers, but sometimes you want to go a bit further.

The snippet I’m putting on this page will detect the browser and OS for you and add a nice little CSS class to the body tag, thus allowing you to write up all your CSS ready for users of different browser and OS creed.
(more…)

jQuery’s Missing AJAX Function (and CodeIgnitor)

Tuesday, June 16th, 2009

This is a really handy tip if you use jQuery frequently and are receiving JSON data back. jQuery’s “$.post” allows you to do a POST call to your application and get the data back, but you have to flag the type of data being received by jQuery so that it can parse it.
(more…)

Fork me on GitHub