i’m havin a heck of a time figuring out how to do this… I’m using a base href in the header of all my pages
<base href="http://mysite.com/" />
and I’ve got skip to nav (my nav is at the bottom) and skip to top links that look like so:
<a href="wp/#navheadnews" tabindex="1" title="skip to navigation">skip2nav</a>
where #navheadnews is bottom most div on the page and just above that div I have my skip to top link: (where #home is the body id)
<a href="wp/#home" tabindex="2" title="up to top">up2top</a>
but of course since I have these “hardcoded” once you click on a post, and then click either of the skip links it takes you to the hard coded link, and away from the post.
the bottom “skip to top” link is also in an include file. but the top “skip to nav” link is hard coded into each index throughout the site.
- The topic ‘named anchors on index.php with base href how to?’ is closed to new replies.