[wp-hackers] Menu that links to specific content

mccormicky mccormicky at gmail.com
Thu Oct 29 14:56:04 UTC 2009


LINKS MENU:
<a href="#overview">Overview</a>
<a href="#history">History</a>
<a href="#middleofpage">Middle</a>
<a href="#last"> Last</a>


CONTENT w/ANCHOR links

<h3 id="overview">Overview</h3>
<h3 id="history">History</h3>
<p id="middleofpage">middle paragraph</p>
<p id="last">End of page</p>


On Thu, Oct 29, 2009 at 10:31 AM, Simon Blackbourn <piemanek at gmail.com>wrote:

> 2009/10/29 MarvinC <marvinc at gmail.com>
>
> > My apologies in advance if this isn't a "hack request" but I'm in need of
> a
> > way to create a menu containing links that point to specific content on a
> > page. The content on most of the pages on a client site is long so what
> > they
> > request is the ability for the user to click to be taken to a specific
> area
> > of the page, like so:
> > Link 1: Overview
> > Link 2: History
> > Link 3: Middle of Page
> > Link 4: Last Paragraph of Page
> >
> >
> http://hackadelic.com/solutions/wordpress/toc-boxes automatically
> generates
> a 'table of contents' for a post/page from the headers (h1, h2, etc) in the
> content.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list