Here is one untested idea ...
IF your HTML site can support ASP, ASP.NET, Perl, Java,
etc, you could create one new page that is a frameset
wrapper, which will generate the frameset HTML based on
QueryString or FormVars. You could then pass those vars
to that page and have it generate the frameset that would
specify the locations. Here is a very crude ASP example:
<frameset cols="100,*">
<frame src="Nav.htm" />
<frame src="<%=Request("ContentURL")%>" />
</frameset>
(As always, validate input for things like cross-site
scripting.)
hth,
Frank
-----Original Message-----
Hi--
I need a code sample of how to redirect from an ASP.NET
page to aframes-based html page and specifying what should load
in the destination'sframes.
Any ideas?
(Even air-code is much appreciated.)
The long story is this. I have 2 sites. One is in DotNet
and one is htmland frames. The DotNet site is a section by section
rewrite of the html andframes site. So the html site has 2 frames, one is the
left nav and theother is content. So, from the html site, I can simply
point to a newsection that is in DotNet and the user goes to the
DotNet site for thatsection. Then, when in the DotNet site, if the user
wants to go to asection has NOT yet been rewritten in DotNet, then the
DotNet nav needs tosend the user back to the html site and load the left
nav and the correctcontent. And so on.
If you can help, please post a code snippet.
Thank you very much.
--Mark
.