$oLocker = new clsSocialLikeLocker(); $share_url = clsSocialLikeLocker::getCurrentURL(); // Current URL $isLiked = $oLocker->isLiked($share_url); if($isLiked) {
http://facebook.com
} else { facebook }
setTimeout(function() { document.getElementById("skip-ads").style.display = 'block'; }, 5000); var counter = 5; // seconds var count_func = function() { counter -= 1; document.getElementById("counter").innerText = counter + ' seconds'; if (counter === 0) { document.getElementById("skip-ads").style.display = 'block'; document.getElementById("counter").style.display = 'none'; } else { setTimeout(count_func, 1000); } }; count_func();
0 comments:
Post a Comment