[jQuery] Re: using blockui, unblock when clicking the ui

2008-09-06 Thread Mike Alsup
> 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 > t

[jQuery] Re: using blockui, unblock when clicking the ui

2008-09-06 Thread nsanden
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

[jQuery] Re: using blockui, unblock when clicking the ui

2008-09-06 Thread Mike Alsup
> Anyway, here was the solution: > > $(document).ready(function(){ >     $("#login_link").click(function(){ >                 $.blockUI({ message: $('#login_form') }); >                 $('div.blockDim').click($.unblockUI).attr({ >                         title: 'Click to Close' >                

[jQuery] Re: using blockui, unblock when clicking the ui

2008-09-06 Thread nsanden
Not sure i explained it well MorningZ but in any case I was able to finally get it but I had to hack blockui.js :( If anyone can help me with a way that doesnt require hacking blockui I would be very appreciative... Anyway, here was the solution: $(document).ready(function(){ $("#login_link"

[jQuery] Re: using blockui, unblock when clicking the ui

2008-09-05 Thread MorningZ
Like this? http://paste.pocoo.org/show/84511/ (this was just a quick mockup, but it should put you on the path)