I am writing a notification plugin for jQuery. As part of the plugin the notifications can be set to auto disappear after a certain time. For some reason though it only fades out and doesnt slideUp
as I'd expect it to. What am I doing wrong?
$('#' + plugin.uniqID)
.delay(plugin.settings['autoclose'])
.queue(function () {
$(this)
.fadeOut({ duration: plugin.settings['speed'], queue: false })
.slideUp(plugin.settings['speed']);
});