Redirect & then Timeout together??
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.
<meta HTTP-EQUIV="REFRESH" content="0; url=Target Website.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.
How are you opening the pop up? The pop up needs the setTimeout/self.close(). If you are opening the pop up by setting it to a variable, then you could close the child from the parent.
o . Q
_—__ "You live and you learn; or you don't live long." - Lazarus Long
The pop up has the enclosed timeout code in it. I am presuming that the redirect code over-rides the timeout script. Would that be why this doesnt work for me?
How do I go about finding how to command the selfclose from the parent window?
Last edited by glengates; 04-05-2011 at 05:28 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)