View Full Version : Div tag which is hidden in the first 3 seconds

11-28-2008, 10:06 AM
I need div tag which is hidden in the first 3 seconds, and will appear automatically, and will remain visible.

I know that it can be achieved for example javascript, but how? I have not found anything similar.

Thank you in advance! :)

11-28-2008, 10:15 AM
I got the answer already. But thanks anyway! :)

<script type='text/javascript'>
function showDiv()
document.getElementById('mydiv').style.display = 'inline';

setTimeout("showDiv()", 3000);
<div id='mydiv' style='display: none'>content</div>