xslt - Scrolling down to an anchor in an HTML frame -
I have created an HTML document that is made up of 6 frames:
& lt; Xsl: result-document href = "frameset.html" method = "html" & gt; & Lt; Html & gt; & Lt; Frameset column = "15%, *, 15%" & gt; & Lt; Frameset Rows = "100, *" & gt; & Lt; Frame name = "logo" src = "logo.html" /> & Lt; Frame name = "menu" src = "menu.html" /> & Lt; / Frameset & gt; & Lt; Frameset Rows = "100, *" & gt; & Lt; Frame name = "title" src = "title.html" /> & Lt; Frame name = "content" src = "content.html" /> & Lt; / Frameset & gt; & Lt; Frameset Rows = "100, *" & gt; & Lt; Frame name = "search" src = "search.html" /> & Lt; Frame name = "link" src = "links.html" /> & Lt; / Frameset & gt; & Lt; / Frameset & gt; & Lt; / Html & gt; & Lt; / XSL: Results-Documents & gt;
What I want to do, this happens when a user clicks on a link in menu.html, a new browser tab opens and presents the same 6 frame. However, the content.html frame will scroll up to an anchor.
I tried this code below and it scrolls to the right place, but it just gives me a frame in the new tab. All 6
& lt; A href = "content.html # id {$ linkID}" target = "_ blank" & gt; & Lt; Xsl: applied-template / & gt; & Lt; / A & gt;
I have tried this code below and it gives me all 6 frames, but there is no way to scroll down the anchor.
& lt; A href = "Frameset.html" target = "_ blank" & gt; & Lt; Xsl: applied-template / & gt; & Lt; / A & gt;
I want a way to combine both of these things in one.
First of all, is it really necessary for you to use this frame? You may not realize this, but HTML5 55 does not support them anymore. First of all, if it is a real business then the frame needs to be used, and there is no way around it, if I understand you properly, then your link all required < / P>
Comments
Post a Comment