How can I have this fiddle to change from first content (mario) to next content (smiley face) without being on hover/click? I want it to change automatically after 5 seconds. Also from second content to third content and fourth content.
Here is a sample from JSFIDDLE. I figured that maybe the coding should be change somewhere here:
$('#text1').hover(function () {
hey();
});
Besides that, anyone knows why my fourth content isn't showing?
I am new in this. Please guide me. Many thanks in advance.
Use
setTimeout()
functionFiddle Updated Fiddle
EDIT
As per your need shoe after 35 seconds
Updated fiddle. NEW FIDDLE UPDATED AS PER COMMENT