HTML Redirection with Frames

liunx

Guest
Not sure where to of posted this as im new to these forums but interested if anyone could help me.<br />
<br />
I am trying to redirect to another page BUT want to redirect from a frame within a page to the parent frame, so that it DOESNT redirect within the same frame.<br />
<br />
Thanks for any help.<!--content-->There's no real good way to do this.<br />
<br />
When I run into this I just go back to good ol' html and build a dummy form that would look like this:<br />
<br />
<body onload="document.dummy.submit();"><br />
<%asp code%><br />
<form name=dummy action=newPage.asp target=_parent><br />
</form><br />
</body><br />
<br />
<br />
I'm 99.9999999% sure that Redirect will not be able to perform this because it only accepts one parameter and that's the url.<!--content-->Whats the ASP code for? I cant use ASP here =/.<!--content-->oh sorry. Redirect is an ASP command, so when you said html redirection that's what I thought of.<br />
<br />
The code I put out there will still work, just omit the asp part.<br />
<br />
you could also do it like this:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/newpage.html target=_parent>New page</a><!--content-->Need it to redirect automatically, will the first thing work fine without the ASP part?<!--content-->
 
Back
Top