Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title>test</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
setTimeout(function(){
$("#test").fadeIn(500)
},3000)
})
</script>
</head>
<body>
<div id="test" style="display:none; text-align:center">test<br />
</div>
</body>
</html>
Try this. I'm not sure this's what you want. In this code the text "test" will show up after 3 sec the page loaded.
You can see I included the jquery.js (you can get it from jquery.com). $(document).ready() means everything inside ready will work right after the page loaded. And I set timeout to work after 3 sec (3000), then call the fadeIn() after 3 sec passed.
Try it to Adapt it yourself.
Bookmarks