How to hide part of the text in wordpress post

xpert90

Regular Member
Joined
Mar 12, 2010
Messages
310
Reaction score
40
Hi guys,

Is there any script that can help me to hide part of the wordpress post for 5 seconds?

So after the post is loaded that part will show up after 5 secnods.

Thanks
 
How it can be useful?.
I think u should try this plugins:
Name:Private Content --> it's a plug in for hide text or content to specific user
Name:Show/Hide Content at Set Time-->It's a plug in for hide text or content for a specific time, it's a countdown
Uji Countdown: it's equal to Show/Hide Content but uji have a better design.
But i think you can try with this:
<html>
<body><div id="countdown"></div><div id="notifier"></div><script type="text/javascript">function startTimer() { userInput = document.getElementById('userTime').value; if(userInput.length == 0){ alert("Please enter a value"); } else { var numericExpression = /^[0-9]+$/; if(!userInput.match(numericExpression)){ alert("Please enter a number") } else { function display( notifier, str ) { document.getElementById(notifier).innerHTML = str; } function toMinuteAndSecond( x ) { return Math.floor(x/60) + ":" + x%60; } function setTimer( remain, actions ) { (function countdown() { display("countdown", toMinuteAndSecond(remain)); actions[remain] && actions[remain](); (remain -= 1) >= 0 && setTimeout(arguments.callee, 1000); })(); } setTimer(userInput, { 10: function () { display("notifier", "Just 10 seconds to go"); }, 5: function () { display("notifier", "5 seconds left"); }, 0: function () { display("notifier", "Time is up"); } }); } }}</script>Please Enter A Number: <input type="text" id="userTime" /><input type="button" value="Go" onclick="startTimer()" /></body> </html>
 
Back
Top