This could easily be achieved in jquery:-
<script>
$("#buttonid").click(function() {
$(location).attr('href', 'website address / url to redirect to').delay("time in milliseconds");
});
</script>
To use the above add the id "buttonid" to the item you wish people to click, change the website address / url and adjust the time in milliseconds.
I have not run the code, though jquery is pretty simple.
Hope it helps.
on the internet you will find some generators who will do that
Thanks, I don't know much coding, just simple html.
This is my button code - <div class="fb-share-button" data-href="http//MYDOMAINdotcom" data-type="button"></div>
Can you implement the code with my button for me.
Thanks alot.
<script>
$(".fb-share-button").click(function() {
var redirectUrl = $(this).attr("data-href");
$(location).attr('href', redirectUrl).delay("time in milliseconds");
});
</script>