Weasel
👄 I'd intercept me
Alright, so I am working on the new version of my website, and I want to use a jQuery redirect function. However, it isn't working. I have almost no knowledge with JS/jQuery, so I hope someone does.
The code I'm using:
The code I'm using:
Code:
<script type='text/javascript'>
$(document).ready(function() {
$('#content').hide();
$('#content').click(function(){
$(this).fadeOut(1000,function() {
window.location = 'http://www.smashindustry.com/v2/'; });
});
$('#content').fadeIn(1000, function() {
window.setTimeout ( function() {
$('#content').fadeOut(1000, function() {
window.location = 'http://www.smashindustry.com/v2/'; }) }
, 10000);
});
});
</script>