...

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



Jazu79
11-28-2008, 11: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! :)

Jazu79
11-28-2008, 11: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);
</script>
<div id='mydiv' style='display: none'>content</div>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum