Hi All,
I have a problem that I hope someone can solve for me as I am new to HTML.
I need a website that im building to have links to certain sites. I also need these links to open in a new window and then timeout and close after 2 minutes.
I do not control the target sites so tried to perform this link via the following code:
The redirect works fine and I know that the self close works also, however I cannot seem to make the 2 work together.Code:<HTML><HEAD> <title>Title</title> <meta HTTP-EQUIV="REFRESH" content="0; url=Target Website.html"> </head> <script language="JavaScript"> window.setTimeout("self.close()", 120000); </script> </HTML>
Does the redirect to the new website render the self close script uesless or is there any way to make the 2 work together?
Any help you can give will be greatly appreciated.
Glen


Reply With Quote
Bookmarks