blog

Archive for January, 2010

Chicago was great, but it’s also good to be home. :)

— January 31st, 2010 9:42 pm

I think Southwest’s colors are really ugly. That’s about the only complaint I have about them.

— January 31st, 2010 5:19 pm

Skill I’m glad I developed while at Mozilla #23: making good screencasts.

— January 30th, 2010 4:29 pm

Hey @Kimtaro, your kimchi burger looks amazing. http://drp.ly/j1sco #food #youshouldopenupashop #inboston #prettyplease

— January 30th, 2010 12:22 pm

WordCamp Boston 2010

Friday, January 29th, 2010

4096077627_c6d3035124_o.jpg

This past weekend I gave a couple talks at the inaugural WordCamp Boston. WordCamps are local, community-organized events for WordPress users and enthusiasts. We had about 400 people at the Microsoft Cambridge campus.

(more…)

Loving the photo @douglashanna took of me at WordCamp Boston #wcbos. I made it my twitter background. https://twitter.com/mitchoyoshitaka

— January 29th, 2010 1:03 am

The After the Deadline Firefox add-on is just about ready. Better spelling in the browser! Please try it out! :) http://tinyurl.com/yakk5om

— January 28th, 2010 9:49 pm

Lest we forget. http://twitpic.com/1044v4

— January 28th, 2010 1:05 am

RT @kurteng Video 1: WCBos-D01: Getting into the Loop - Michael Erlewine #wcbos http://bit.ly/bVMIb5 @mitchoyoshitaka

— January 27th, 2010 8:43 pm

RT @manton Tablet day, tablet day, everybody loves tablet day!

— January 27th, 2010 11:51 am

Pure CSS Coke Can: http://tinyurl.com/y9zhkvy Amazing! /via @gen

— January 26th, 2010 11:56 pm

I will pay someone $5 if Steve Jobs says “Slate of the Union” tomorrow. #notsurewho #itcouldbeyou #ilovemypunsthankyouverymuch

— January 26th, 2010 3:04 pm

Creating an image-sized iframe overlay with Shadowbox

Wednesday, January 13th, 2010

I recently have been working with the Shadowbox JavaScript library for an upcoming revision to the MIT Edgerton Digital Collections website. Shadowbox is a nice lightbox library designed to work with various JavaScript libraries like jQuery, prototype, and mootools with a nice modular design.

Shadowbox is organized around different “players”—one for each kind of media that will be displayed. The library by default comes with players for Flash, HTML fragments, iframes, QuickTime, and Windows Media. Some of these players, like those for images and video, automatically recognize the media size and adjust the lightbox accordingly, while others such as the iframe player can use a set size or can fill the screen. For the Edgerton site, though, we had a need for displaying an iframe but in the dimensions of a set image, so that we could display the image with an overlay. Here are some notes on how to implement a custom player for Shadowbox.

(more…)


© 2006–2011 mitcho (Michael 芳貴 Erlewine).
Proudly powered by WordPress on Media Temple.
The views expressed on these pages are mine alone and do not
reflect those of my employers and clients, past and present.