Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Navigate to bookmark in local file

Status
Not open for further replies.

Alt255

Programmer
May 14, 1999
1,846
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).
 
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
 
Thanks, Mike. Of course that works. Sorry about wasting your good time. The HTML wasn't the problem.


Add water (makes its own sauce).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top