You could also use setTimeout().

For a quick and dirty chainable method, you could check out this entry:
http://www.learningjquery.com/2007/01/effect-delay-trick


--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Apr 26, 2007, at 11:09 PM, joomlafreak wrote:


Hi James
Thanks for your reply but it seems your method also does not work.

By following your method, if I want to change the css property of an
element after 4 seconds I would be writing it like this

$("#indic").pause(4000).css("display","block");

but this changes the style right away.


On Apr 26, 8:29 pm, James  Thomas <[EMAIL PROTECTED]> wrote:
I haven't used Pause but I took a look at the code and it looks like
you use it in a chain, like this:

$
('#navig_item_text').removeClass('navig_item_active').pause (3000).slideUp('slow');

It's how it appears to me (may be wrong in my interpretation though).

Also, it appears that type is an optional parameter that you specify
(it defaults to "fx" if you don't) that you can use for identification
if you want to unpause stuff.

James

On Apr 26, 4:21 pm, joomlafreak <[EMAIL PROTECTED]> wrote:

I am trying to use the pause plugin by Mr Howard like this

$("#navigblock .navig_item:eq("+curritem
+")").removeClass("navig_item_active");
  pause(3000);
$(".navig_item_text").slideUp("slow");

and I have included the plugin in head of my page but still it keeps
giving me this error pause is not defined in firebug.

Also in unpause what is meant by type?
The documentation is so little that I could not understand it
properly. Actually it must be very simple to use I guess and thats why
there is not much documentation.

Can someone please shower some light on my poor understanding of this
beautiful piece of code?


Reply via email to