Saturday, October 8, 2011

Show secret message after 1, 2, 3 minutes in blog, website or any site.

Put this code just in HTML/Javascript box in blogger.


Note: Click any text in code box and Ctrl+A to select all code:
Modification of above code:
Step-1:

 window.onload = function()
            {
                hideButton();
                setTimeout('showButton()', 6000);
            }
        </script>
Highlighted with Red: Can be modify according to your desire e.g.If you want to show secret message after:1 minutes = 60,000 [ Replace above red highlighted number with this number to show secret message after 1 minutes.
2 minutes = 2 x 60,000 = 120,000 [ if you want to show after 2 minutes ]
3 minutes = 3 x 60,000 = 180,000 [ if you want to show after 3 minutes] Do accordingly with time interval.

   Step- 2
 <input type="button" id="btnContinue" value="Secret message" onclick="goToURLbcci()" /> 
 You can change your Secret message according to your desire.

 Demo Wait for 3 minutes at footer bar just below Welcome message!

Message

No comments:

Post a Comment

This site is MOBILE FRIENDLY