Forums

[resolved] Link to place on same page (3 posts)

  1. mpgeorge
    Member
    Posted 5 years ago #

    I'm sure this has a very simple answer; I'm trying to link to a paragraph further down on the same page

    So on http://www.conflictoflaws.net/about/editors/ , I'd like to have a link to each person's profile, and when you click on it it "jumps" to that person's profile on the page.

    Any help would be much appreciated.

  2. fakelvis
    Member
    Posted 5 years ago #

    This is some relatively simple HTML coding.

    For the person profile (the target) you need to put the following HTML tags around the title (where you want it to jump to):
    <A name="NameHere">TitleHere</A>

    This will create an "anchor" around that title.

    Now, in order to create a link that jumps to that anchor, you need to modify the usual way a link work. The following would jump to the above anchor:

    <A href="#NameHere">LinkText</A>

    Try it out. If I'm not being very descriptive, ask again and I'll describe it a bit better.

    Or a search for 'anchors links html' should bring up some good results.

    Cheers,
    Lloyd
    http://www.LloydMorgan.co.uk

  3. mpgeorge
    Member
    Posted 5 years ago #

    Lloyd,

    Many thanks! Works like a charm, although one should note that the WYSI-Wordpress editor plugin has to be deactivated before it works in the HTML editor.

    Cheers.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags