Standard HTML Anchor links are a traditional and useful means to send users to specific locations in web content. A basic primer on how to create an HTML Anchor link can be found here.
Unfortunately in some areas of SharePoint 2010 like Wiki pages, users experience a side-effect of all the gadgetry involved in the system: normal HTML anchors that they may enter into the content areas are “broken” and do not respond. I did some checking and found the following behavior:
-IE 8 – goes to the Anchor Tag on the new page, then jumps to the top. From my understanding this is due to the ribbon bar or something on the page that overrides focus
-IE 7 – works
-IE 6 – works g
-FireFox 12 – page loads and never generates a focus anywhere…not even the jump you get from IE 8
Solution 1 (Basic HTML editing comfort required):
Add the target anchor link as normal, in the following example Chapter1 is the text you replace with your own anchor name & text:
<a name="#Chapter1">Chapter 1</a>
Add the following as the hyperlink to the target:
Edit your publishing page and select some text. Now click “Insert/Link/From Address”. In the pop up window just type “/” for the “Address” field. Remove “/” from the URL field and add “#Chapter1” or equivalent value to “Bookmark”. Now you will be able to create an anchor to “#Chapter1”. Just select some other text in your page. Now click “Insert/Link/From Address”. In the pop up window just type “#Chapter1” for “Address”. Save and your inpage link will work.
Incoming search terms:
- anchor tags sharepoint 2010
- anchoring managed metadata sharepoint
- css html anchor within sharepoint page
- how to do jump links in sharepoint
- infopath link anchor
- SharePoint 2010 Anchor Tag Fix
- sharepoint 2010 anchor tags
- sharepoint 2010 anchor to webpart
- sharepoint anchor tags
Trackback from your site.