jquery slideToggle - Call before slide -


can suggest how make call within slidetoggle before opens/closes? here situation:

$('.accordion .d_row .c_row').live('click', function() {      $(this).nextall('div.details').slidetoggle(function() {          if($(this).is(":hidden")){             //         } else {             //         }      }); }); 

if call //do comment resides getss fired whilst element slides open. there way call, example, function first perform silde?

cheers

you can run code before calling slidetoggle.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -