|
Some how I missed reading one of the threads. It is the response from:
DaveyErwin saying:
<head>
<script>
time=3;
document.write('<meta http-equiv="refresh" content="'+time+'; url=http://example.com/">')
</script>
<style>
</style>
<script type="text/javascript">
</script>
</head>
I would like to try it, but I need to know:
1- What goes in "http://example.com/"
2- Which goes first:
document.documentElement.write('<meta http-equiv="X-UA-Compatible" content="IE=edge" />')
then
document.write('<meta http-equiv="refresh" content="'+time+'; url=http://example.com/">')
or the other way?
3- What does "refresh" really do? Does it reload the page's code, by reading the code from its source again, or just refreshes the screen based on the already loaded code?
I hope I made sense with my questions and sorry for missing that thread
|