Here is where I'm at:
onResize = (function($) {
//Do stuff
});
$(document).ready(onResize);
$(window).bind('resize', onResize);
The script calculates the width of it's containing div and then lays out a gallery accordingly. It runs onload correctly (no matter the window width ) but doesn't seem to fire on resize. The issue? Creates layout problems with my media Queries.