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

On Sep 6, 9:44 am, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > 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'
> >                 });
> >         });
>
> > });
>
> You should be able to simply do this:
>
> $("#login_link").click(function(){
>     $.blockUI();
>     $('.blockUI').click($.unblockUI).attr('title','Click to close');
>
> });

Reply via email to