Ah, yes...  sorry to lead you astray.  Good work, Tom.

Mike

On 4/3/07, Tom  Shafer <[EMAIL PROTECTED]> wrote:

thanks mike, I got it working with this

$('a.respond').bind('click', function() {
        var $el = $(this).prev('div');
                $el.block('<h1>Please <a href=\"login\">Login</a> to submit your
opinion.</a></h1>',{ border: '3px solid #a00'});
                setTimeout(function(){ $el.unblock(); }, 5000);
                return false
        });

On Apr 3, 11:17 am, "Tom  Shafer" <[EMAIL PROTECTED]> wrote:
> thanks mike, im getting the hang of this. $this is your friend im
> learning
>
> On Apr 3, 6:32 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
>
> > Tom,
>
> > Just add the timeout after you've called block().
>
> > $('a.respond').bind('click', function() {
> >     var $el = $(this);
> >     $el.prev('div').block('<h1>Please <a href=\"login\">Login</a> to
> > submit your opinion.</a></h1>',{ border: '3px solid #a00'});
> >     setTimeout(function(){ $el.unblock(); }, 5000);
> >     return false;
>
> > });

Reply via email to