In the quoted example, the block function is passed as the event
handler. In your example, you just reference, but don't call it. Easy
to fix:
$(#block).click(function()
{
$.tooltip.block();
alert
Ah, that makes sense. Thanks, Jörn. I suppose I'd have stumbled across
that solution eventually, but I really wanted to know *why* it wasn't
working, which you've now explained.
I had a look in the plugin docs for block() but couldn't see it
mentioned. Is it an 'undocumented feature', or have I
2 matches
Mail list logo