I have this sniplet of code in jQuery
$element.parent().children().last().hide().show(\'slide\', {direction : \'left\'}, 700, function () { $element.delay(20
There already exists a jQuery-method delay and it expects a string(queueName) and not a function as parameter. Choose another name for your delay-method to avoid conflicts.