Asked by StMike38
at 2024-09-05 06:47:17
Point:500 Replies:6 POST_ID:829220USER_ID:12094
Topic:
Hypertext Markup Language (HTML);Miscellaneous Software;Miscellaneous Programming
My program outputs a dynamic HTML page from a server. Is there a way to make the page open at an anchor within the page rather than at the top of the page?
Example: An HTML page is created on the fly with an anchor tag <a id="target"></a> 2/3 of the way down the page. The page is written (as always) to stdout. How do I get that page to open at the target?
With static pages, it is easy -- <a href="www.MyServer.com/MyPage.asp#target">Click here</a>. When writing dynamic pages, how ???????????
Example: An HTML page is created on the fly with an anchor tag <a id="target"></a> 2/3 of the way down the page. The page is written (as always) to stdout. How do I get that page to open at the target?
With static pages, it is easy -- <a href="www.MyServer.com/MyPage.asp#target">Click here</a>. When writing dynamic pages, how ???????????