View Single Post
Old 03-28-2012, 07:07 PM   PM User | #15
ksz
New to the CF scene

 
Join Date: Mar 2012
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
ksz is an unknown quantity at this point
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
ksz is offline   Reply With Quote