Link to a certain position in page


  1. Posts : 122
    Windows 7 Ultimate x32
       #1

    Link to a certain position in page


    When I hover over a question/reply number (in this forum), I see the link in the status bar and can use it to insert a link that would open the page in that position.
    Example

    How do I do that in other pages?
    Example2
    Example3

    In those pages, I can't find any link hovering with the mouse over a specific section.

    Thank you.
      My Computer


  2. Posts : 1,519
    Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP
       #2

    It appears to be based upon the number after the /, for example, changing the link to this page /350332-link-certain-position-page.html to /350311-link-certain-position-page.html takes you to a different thread/post on this forum and changes the text after the /350311 to show the new page. It must be associated to how the sites are created and pages written.
      My Computer


  3. Posts : 1,049
    Windows 7 Pro 32
       #3

    For example2 you click Share below each answer, and it will show the URL including the anchor to that answer

    For example3 you click the small white image above the answer next to "Posted", example:
    Posted October 3rd, 2014, 6:57 am
      My Computer


  4. Posts : 122
    Windows 7 Ultimate x32
    Thread Starter
       #4

    Thank you Berton and Tookeri. I appreciate your help.

    @Tookeri,
    That's great.
    In Example2, there's a link to question or answers. Where/how did the poster find them?
    And in general, is there another technique, or I should always look for the-not-so-prominent links?

    Thanks agaim.
      My Computer


  5. Posts : 1,049
    Windows 7 Pro 32
       #5

    I guess the poster already knew about them, or checked out the page source and looked for ID tags. If you're not familiar with HTML it might be difficult, but try searching for id=" The problem though is it's usually lots of them in a page.

    Here's a few lines from the page source that defines the question link:
    HTML Code:
                 <div id="question-header">
                 <h1 itemprop="name"><a href="/questions/382047/linking-to-a-specific-scroll-position-on-a-web-page" class="question-hyperlink">Linking to a specific scroll position on a web page</a></h1>         </div>
                 <div id="mainbar">
    So in this example you take the URL to the page and add #question-header at the end
      My Computer


  6. Posts : 122
    Windows 7 Ultimate x32
    Thread Starter
       #6

    Thanks again. You've been very helpful.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:12.
Find Us