Support Home Page › Forums › Joomla Software › Easy Folder Listing Pro Plugin › How to call custom JavaScript function after animation is completed? › Re: How to call custom JavaScript function after animation is completed?
Michael,
thank for your reply and valuable advice.
The way you showed I am not sure, if my code will be executed after animation trigerd by click() method is completed.
var code = “jQuery(‘”+this.triggerArray+”‘).click(function() {jQuery(‘”+this.subArray+”‘).”+this.method+”(‘”+this.speed+”‘, ‘”+this.ease+”‘); /* add your code here. don’t forget the semi-colon at the end of your statements. */});”;
My function adjust sidebar height to content element and it does not work in FireFox (in other browsers works). I think it may be the reason that it’s triggered when action from click() method is not finished yet.
Can you please answer my previous post regarding folders order.
Regards,
Marcin