Feb 24, 2021 #1 Alt255 Programmer Joined May 14, 1999 Messages 1,846 Location US Is there any way to use a hyperlink to go to a bookmark in an HTML file stored on a local hard disk? Add water (makes its own sauce).
Is there any way to use a hyperlink to go to a bookmark in an HTML file stored on a local hard disk? Add water (makes its own sauce).
Feb 25, 2021 #2 Mike Lewis Programmer Joined Jan 10, 2003 Messages 17,516 Location Scotland I guess you would do it in the same way as for an HTML file stored on a server. Something like this: Code: <a href="file:///C:/MyFolder/index.htm#MyBookmark">anchor text</a> where C:/MyFolder/index.htm is the path to the local file, and MyBookmark is the name of the bookmark. Mike __________________________________ Mike Lewis (Edinburgh, Scotland) Visual FoxPro articles, tips and downloads Upvote 0 Downvote
I guess you would do it in the same way as for an HTML file stored on a server. Something like this: Code: <a href="file:///C:/MyFolder/index.htm#MyBookmark">anchor text</a> where C:/MyFolder/index.htm is the path to the local file, and MyBookmark is the name of the bookmark. Mike __________________________________ Mike Lewis (Edinburgh, Scotland) Visual FoxPro articles, tips and downloads
Feb 27, 2021 Thread starter #3 Alt255 Programmer Joined May 14, 1999 Messages 1,846 Location US Thanks, Mike. Of course that works. Sorry about wasting your good time. The HTML wasn't the problem. Add water (makes its own sauce). Upvote 0 Downvote
Thanks, Mike. Of course that works. Sorry about wasting your good time. The HTML wasn't the problem. Add water (makes its own sauce).