Dear friends
I work for a very small business and therefore my job functions are
quite varied, and once in a while I stumble upon something which I'm
not really qualified to do.
In this case I've run into a problem updating the company's (very
simple) web site.
For a variety of reasons, it's become necessary to create a web page
that automatically forwards the user to another website on the same
server.
I was under the impression the following JavaScript code would perform
this function, but it does not seem to work. I would be extremely
happy if somebody could give me some hints as to what I'm doing wrong.
The HTML/JavaScript I'm trying is this:
<HTML>
<HEAD>
<script language="Javascript">
function forward()
{
location.href="http://www.solumforlag.no/katalog/katalog.html";
}
</script>
<TITLE>Please wait...</TITLE>
<body onload=setTimeout('forward()',5000)">
</body>
</HEAD>
Regards
Aleksander Solum