I’ve been playing around with textures in photoshop, and I’m quite pleased with how this artificially aged photo turned out, the original is on my flickr account as “Cabs from Museum Window“.
Blog
Pre-populating Some Fields
I’m in the midst of doing a bit of a progressive enhancement upgrade to this site, which essentially means splitting down my stylesheets to typography, layout and colours, then adding a nice layer of css3 goodness.
Anyhoo, part of that exercise involves streamlining my jquery javascript for the pre-population of form fields on this site, so here’s what I’ve put together:
$("form label").each(function(){
var forminput = "input#" + $(this).attr("for");
var labelmsg = $(this).text();
$(forminput).attr({"value":labelmsg});
$(this).hide();$(forminput).each(function(){
$(this).focus(function(){
$(this).attr({"value":""});
});
});
});
Right, the script looks for <label> fields on the page, then I build a string that lets jquery pick up it’s associated input field. From there the lovely jquery pixies grab each the text of the label, pre-populate the field with that text and finally another function clears the field when you focus on it. It’s nice and low calorie, enjoy.
Self note: need to think about a nice style for the <code> tags
Filed under Uncategorized
Minilogue - Animals
I’m loving this music video that Ljudbilden & Piloten produced for Minilogue’s Animals. Very inspirational, I recommend heading over to the vimeo page and switching on the HD version.
Filed under animation, inspiration, music, online media
Yeah, I’m not a Microsoft Guy.
Normally I don’t really care about this kind of thing, but the new mac ads are pretty funny. More so, I think, than the previous adverts as they poke fun at Microsoft’s odd method of trying to change perception through adverts and celebrity endorsements, whilst not actually fixing the product.
Filed under apple
Tired after Al's Telefunken night at the caves, great set by Al tho! -
About
Onezom is James McEwan a web designer, developer and illustrator from Edinburgh, Scotland.
I’m contactable via email on james@onezom.com or jamesvmcewan on aim or jvmcewan on yim.
Delicious Links
Save Polaroid
Damn straight.
Barack Obama: The 50 facts you might not know
Very stoked that Obama collects Conan and Spider-man comics!
Lessons Learned while Building an iPhone Site
Interesting article from the flickr blog about setting up a mobile site. Of particular interest is the idea of loading gzipped fragments of a page using javascript to reduce the load time.
BittBox
Some nice tutorials and textures be here!
Bifurk Font
nice freebie font to complement my normal 'cooter' typeface.
Elsewhere
- Retrosuper - Tumblelog for randomness
- Socalthing - lifestream
- Pownce - Messages, Events & Files
- del.icio.us - Bookmarks
- Digg - News that interests me
- Flickr - My Photos and Illustrations
- Last.fm - What I'm listening to
- Upcoming - Events I'm attending
- LinkedIn - Professional history
- Twitter - My updates

