javascript - Complicated issue in breaking out of an iFrame and loading the 'return url' -
I have the following problem using iframes.
I have an IFrame frame inside 'parent' frame. I have a page 'parentPage.aspx' with many links in the format
http: // test .aspx? PageURL = http: //something.aspx? ReturnUrl = http: //domain/parentPage.aspx
So when you click on the link, the test.aspx frame is loaded inside the parent. Inside Test.aspx, I have a frame 'childframe', using the JS function in Test.aspx, I take the page URL
http: //something.aspx? ReturnUrl = http: //domain/parentPage.aspx
and set it as src for childframe.
Then some. Aspx is returned inside 'parentframe', the URL that has the same basic page space. Aspx is in the form of.
OK or Cancel in some. In Aspx I come back to parentPage.aspx but I do not want to load parentPage.aspx in childFrame (because something.aspx is in childframe).
Hope I have explained well.
& lt; A href = "stuff" target = "_ parent" & gt; Load up one frame & lt; / A & gt; & Lt; A href = "stuff" target = "_top" & gt; Loads in very top frames if there are multiple nested frames. & Lt; / A & gt;
Comments
Post a Comment