> Mike, > > I had tried that originally (i saw you posted that in an earlier > thread) but the problem is it also unblocks the UI if I click anywhere > in the login_form area. I only want to unblock it if you click outside > the login form (in the grayed out area). I assumed the reason was due > to giving all those divs in blockui.js the class 'blockUI' > > Nate
Yeah, you're right. I think this should work, but it's a bit verbose. $('.blockUI').click(function(e) { var $t = $(e.target); if ( $t.is('.blockUI') && ! $t.is('.blockMsg')) $.unblockUI(); }).attr('title','Click to close'); I'll try to bake this in to the next rev of blockUI. Mike