fadeout and settimeout combination
thank you in advance for any time.
i want a fadeout to be timed and then re-direct to another site.
1-site ready
2-user click img
3-img fadeout("slow")
4-load dest site
its not working and i am very new, hopefully a basic question to a more experienced user.
any help would be great!
<script>
$("img").click(function () {
$("img").fadeOut("slow");
setTimeout(function() {"redirect.com", 5000);
});
</script>