Category Archives: Javascript

Fixed positioning in Mobile Safari

Behold, fixed positioning on iPhone! http://doctyper.com/stuff/iphone/fixed/
Here’s a video for those without iPhones. This is running in the iPhone Simulator bundled with the SDK. Note that the animation is much choppier on an actual iPhone.
With the release of iPhone OS 2.0 came some great improvements over previous Mobile Safari versions. CSS animations are in (though buggy), […]

Breaking out of a forEach loop

An email going around the client-side mailing list at Schematic casually mentioned forEach loops. The sender liked them, but tended to avoid them because there was no way to break out of one.
Naturally, this sent me on the hunt to see if it was at all possible. A furious Google search led me to a […]

Flow 1.0.2

I just pushed release 1.0.2 out the door.
Bug fix:
Flow will no longer choke with SWFObject.
Early this morning I received a report about Flow not playing nicely with SWFObject. After debugging, it turned out it was a case of doing too much.
SWFObject correctly cleans up after itself in IE by removing its generated code on unload. […]

Introducing Flow

This is a post I’ve been wanting to write for months now. For the past several months I’ve been spending my free time toiling over a personal project of mine.
It started with Dean Edwards and his release of the Base2 library. It scratched an itch that I’ve had for years: I wanted the ability to […]

Pickleview 1.0

I’m proud to announce that we’ve just crossed this significant milestone. After weeks of crunching bugs and rolling out update after update, Pickleview is officially a 1.0 release.
What started as a simple itch to scratch has turned into a full-fledged iPhone application, used by true honest-to-goodness people. Really!
The feedback has been nothing short of spectacular. […]

Pickleview

I want to talk a little bit about a side project that’s gleefully taken up most of my free time.
Over the weekend I attended iPhoneDevCamp, a gathering of web geeks from around the globe with one purpose: to create applications for iPhone.
I went into the event with little-to-no expectation of anything happening. It being my […]

Remote 1.1

I’ve just updated my Remote script to version 1.1
New in this version:

Faster, safer implementation of callback functions
Now supports uploading files via Ajax(ish)

Check out the sample code for more.

Remote: A cross-browser XHR/JSON function.

I grew tired of re-scripting my remote calls, so I’ve built a global function that can handle whatever I throw at it.
Remote is a global, lightweight XHR/JSON function, designed to handle cross-browser remote scripting.