Menu
Hi.
Here is the current code i have been using (taken snippets from multiple different codes across the net)-
[code=html]<SCRIPT>
window.onload = setTimeout(function() {variable=1}, 10000);
if(variable == 0){
document.write(“<DIV STYLE=’visibility:hidden; position:absolute;’>”);
}
else{
document.write(“<DIV STYLE=’visibility:visible; position:absolute;’>”);
}
</SCRIPT>
Text that will be affected</div>
I need it so that on loading the page, variable=0 so that the div is not visible, then after 10 seconds, the variable=1 so that the div is visible.
I hope you can help…
Thanks, Ryan.