Thursday, June 30, 2011

Image Stabilization Internals: Canon 18--55mm IS lens






Sunday, June 26, 2011

Docklands Summer Festival 2011

Docklands Summer Festival 2011

A few shots from the Docklands Summer Festival at Grand Canal Square in Dublin today, including a sailing race.




Thursday, June 23, 2011

Saturday, June 11, 2011

How to close a JQuery modal on overlay click?

PROBLEM:
How to close a JQuery modal popup when the user clicks outside the div, on the darkened overlay?

SOLUTION:

jQuery(function ($) {
   $('.simplemodal-overlay').live("click", function () {
       $.modal.close();
   }); 
});

SOURCE:
http://www.ericmmartin.com/projects/simplemodal/