jmanstorm
asked on
Add time function to show intro javascript
Want to add a time duration function to the below script. On 5 seconds display then hide iframe.
<script>
function showintro() {
document.getElementById('if1').style.display='';
document.getElementById('if1').src='http://clubtuki.com';
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body onload="javascript:showintro()">
<iframe id="if1" src="" style="display:none;" scrolling="no" border="0" frameborder="0" height="250" width="500" marginwidth="0" marginheight="0">
</iframe>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER