Tag Archives | example

QN: Things You Might Not Know About jQuery

jQuery is a very popular JavaScript library used to make writing JavaScript-enabled sites easier; handy shortcuts and pre-defined functions that do popular things and all. David Flanagan (author of jQuery Pocket Reference) has put together 5 tips about jQuery that you most likely didn’t know. My favorite one is the use of namespaces when it [...]

Read full story Comments { 0 }

FourSquare Mayor Checkin Program w/ Source Code

Update #2: This application now has an official software product page with all the links for download, usage and source code. If you just want to download the program and run it, scroll down the Download section below. Thanks! Background A few weeks ago we wrote about Mayank Lahiri’s working FourSquare checkin hack that allowed [...]

Read full story Comments { 98 }

10 Amazing Examples of JavaScript and HTML5

Zef.me put together a list of 10 amazing JavaScript/HTML examples that a lot of people (me included) thought still required Flash to do. Some of the highlights is an accurate (and performant) interactive cloth simulation by Andrew Hoyer. You can drag any node on the “cloth” around and have it’s 3D skeleton realistically react to the interaction; [...]

Read full story Comments { 3 }

Java 7 Gets try-with-resources Support (Automatic Resource Management)

Java 7 is adding support for a new try-with-resources code-block construct that allows the runtime environment to automatically manage closeable resources for you; e.g. streams. What originally started with a proposal in February of 2009 from Joshua Bloch for try-catch blocks to add the ability to automatically manage resources, eventually turned into a modification to [...]

Read full story Comments { 7 }

HTML5 Drag and Drop Upload and File API Tutorial

Update #3: Using the techniques outlined in this article I have rolled out and initial release of imgscalr.com. Feel free to download the JS source (it is heavily commented) and take a look at how it was rolled out. Unfortunately the required File API support is only in Chrome and Firefox currently, Safari gets it [...]

Read full story Comments { 87 }

JaxaFX 1.0 Released – Not a Great First User Experience

Please keep in mind I’m wearing my “Joe average user” hat that this platform is suppose to target as a delivery platform (and simplify developer’s lives in the process). I’ll admit that I’ve always had trouble with the Java plugin and Firefox on my old Windows XP SP2 desktop, Windows XP SP3 laptop and my [...]

Read full story Comments { 21 }