Archive for the “Javascript” category

Starry Night

by Thai on July 12, 2011

3D With CSS3 and jQuery

by Thai on July 9, 2011

I never thought that CSS would be capable of 3D, but here I am, trying to see if it does. It’s far from Pixar’s quality so don’t expect it to replace it in the near future. I recently read an (…)

Read the rest of this entry »

Check Safari Mobile Version

by Thai on June 9, 2011

It’s weird how the UI doesn’t tell you what Safari version you’re running, but this little tidbit will. Just cut and paste it into the URL bar: javascript:alert(navigator.userAgent) You can also use it for Android’s browser as well.

Balls Deep With HTML5 Canvas

by Thai on December 6, 2010

The idea of HTML5′s reach across many mobile devices has really got me thinking about mobile games through the browser. While researching I found that Spil Games was offering a monthly HTML5 contest and first place is $5000 bucks. Such (…)

Read the rest of this entry »

Generate a Playlist for HTML5 Video

by Thai on May 4, 2010

I wanted to script a playlist generator for HTML5 without using jQuery and this is what I came up with. What it does is read files from a directory and outputs it in JSON array. It’ll pass the values to (…)

Read the rest of this entry »

Rotate Header Based on Time of Day

by Thai on March 16, 2010

I made this because I’ve seen a php tutorial on NETTUTS that’s pretty cool and thought of a client side version just for the hell of it. It basically changes the header based on the time of day it is. (…)

Read the rest of this entry »

Parse XML with jQuery

by Thai on March 14, 2010

This little snippet will parse XML and format any way you like. It’s as simple as using jQuery’s .each() method and then appending it to a div. If you’re trying to parse a RSS feed then I suggest using jFeed. (…)

Read the rest of this entry »