I need to show a div (e.g. #mybox) in 10secs after page load, keep it visible for another 10 secs and then hide with a nice sliding in/out effects.
Thanks a lot for
http://jsfiddle.net/tzvemt4m/
$(".Mask").each(function() {
var tempstr = this.innerText;
var replacestr = this.innerText.replace(/./g, "*");
$(this).mouseover(function() {
this.innerText = tempstr;
});
$(this).mouseout(function() {
var tempObj = this;
setTimeout(function() {
tempObj.innerText = replacestr;
}, 10000);
});
this.innerText = replacestr;
});