Archive for the ‘Internet’ Category

 
Mar
04

jQuery Plugin – Increment

Posted (seano) in Internet, WebDev, jquery on March-4-2010
jQuery Increment Plugin

jQuery Increment Plugin

Inspired by this article on css-tricks.com, I decided to release a plugin dedicated solely to quick keyboard-based manipulation of numeric values in HTML input fields. It’s called Increment.

See the Demo

Simply assign the set of inputs you wish to attach this behavior to:
$('input.hours').increment();
And let your fingers do the walking: use the up arrow to increment values, down arrow to decrement. Hold down shift for greater increments (maxIncrement), Ctrl/Cmd for smaller ones (minIncrement).

Define custom options for Increment easily:
$('input.hours').increment({ increment: 10 });
See plugin script comments for full list of options.

Use Cases: Time sheet applications (how I came to develop this), Order / Requisition forms, anywhere multiple numeric form inputs are needed.

Initial release v0.5 — tested on:

  • Firefox 3.6 / Win
  • Chrome 4.0 / Win
  • IE 8 / Win
  • Safari 4 / Mac
  • Firefox 3.6 / Mac
  • Chrome 5 Beta / Mac


Download Increment Now

Thanks to Chris Coyier (@chriscoyier) for the inspiration, and to Karl Swedberg (@kswedberg) for the still-solid jQuery plugin architecture guide.

Your feedback is appreciated. Let me know what you think in the comments below.

Follow me on Twitter: @seanodotcom



 
Mar
31

He’s Just Not That Into Me

Posted (seano) in Celebrity, Culture, Facebook, Internet on March-31-2009
Rejected

Rejected

Well, this was a first.

For the first time in over 20 years as a member of the digital universe (save for my foray into online dating):

I’ve been rejected as a potential “friend” online.

It was bound to happen, sure. But I didn’t expect it from someone I had actually met in real life. And had over for poker in my home.

Now, I completely understand his rationale. The person in question lives in the L.A. area and hangs in celebrity circles; He gets phone calls from Ben Stiller, and I’d seen photos of him at the house of the beautiful Jenna Fischer (born just one week after me, BTW). Also, he has close to 3,000 MySpace friends. So I imagine he wants to keep the fanbois on MySpace, and leave Facebook as a place for those he is closest with. Quite understandable.

This interesting response still came as a bit of a surprise. Which makes sense, because he is an interesting guy… which… is why I wanted to keep up with him in the first place! I throw up a little in my mouth when I think of joining MySpace, so that’s not happening. If only he were on Twitter

Well, in any event, no hard feelings, Joe. Good luck in your travels. And say hi to Jenna for me. Big fan.

(hmm, is she on Facebook…?)