• ursulamargrit

    (@ursulamargrit)


    I’ve started a news page, and it is getting tedious having to scroll down to find a specific article, when linking to the page.

    I list the opening sentences of the article on my home page (a church website), and then add a link, saying something like, for more into, click HERE. Here being the link to the news page.

    How to I link it to the exact point of where this specific article begins on the news page, without scrolling?

    Here is my home page

    Here is the link to the news page

    I want to directly link to the ‘Women’s Coffee Hour’ (and everything else eventually, as it moves down).

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ursulamargrit

    (@ursulamargrit)

    Well, adding the links didn’t work too well.

    My homepage is https://www.allistonalliance.org

    Just go there and click on the link to the story on the ‘Women’s Coffee Hour’, and you’ll see you have to scroll down to it. I want to directly link to it.

    MarkRH

    (@markrh)

    What you do, at the top of the Women’s Coffee Hour.. make HTML code like:

    <a name="coffee"></a>Women's Coffee Hour

    Then, in the link to that section, do:

    <a style="color: #0000ff;" title="News" href="https://allistonalliance.org/news/#coffee">MORE</a>

    sibul

    (@sibul)

    name attribute is not supported in html5, use id instead

    Thread Starter ursulamargrit

    (@ursulamargrit)

    Thanks a lot, Mark and Sibul, I will try that shortly, and will report back if it worked!

    Thread Starter ursulamargrit

    (@ursulamargrit)

    Okay, I just did it, and it works, I am so thrilled! Thank you so much for your help, I really appreciate it.

    MarkRH

    (@markrh)

    Ahh.. use ID instead. Still works in HTML4 code which is what the bulk of my website outside of the blog is in.

    Thread Starter ursulamargrit

    (@ursulamargrit)

    Yes, I used ID. I am sure ‘name’ would have been fine, too. Thanks again, I really appreciate your quick reply.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Linking to a specific spot on a page’ is closed to new replies.