Hello all,
I need to make a url redirection function (anyone) using for example:
function url2()
{
window.location.href(url2) -- I want to use a target
locatiom.replace(url2) -- I want to use a target
whatever code whit target
}
<a href="url1.htm" target="mainFrame" OnClick="url2();">
the problem is that I have a frame (left, top, main), the link is in leftframe and I want to open this url in topframe. Is there a way to add target.
I need to make a url redirection function (anyone) using for example:
function url2()
{
window.location.href(url2) -- I want to use a target
locatiom.replace(url2) -- I want to use a target
whatever code whit target
}
<a href="url1.htm" target="mainFrame" OnClick="url2();">
the problem is that I have a frame (left, top, main), the link is in leftframe and I want to open this url in topframe. Is there a way to add target.