I have a jquery extended function that works perfectly but when i pass it through the setTimout it does not wait the the specified period and runs straight away.
jQuery(document).ready(function($) {
setTimeout($.mainmenuslider({
trigger:'close'
}),6000);
});
Any Ideas???