Skip navigation
chinchun19
Currently Being Moderated

What is the code I should write in my webpage for going directly to a Line or Section of external we

May 5, 2013 4:46 PM

What is the code I should write in my webpage for going directly to a Line or Section of any external webpage.

 
Replies
  • Currently Being Moderated
    May 5, 2013 4:52 PM   in reply to chinchun19

    #1 The external web page must be under your control.  Add a named anchor or Div ID to the top of desired target destination.

     

         <a name="anchorPoint"  id="anchorPoint">

     

    #2 Add an anchor to your hyperlink like so:

     

         <a href="http://destinationSite.com/pageName.html#anchorPoint"> Link</a>

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    May 5, 2013 5:03 PM   in reply to chinchun19

    external webpage is not in my control. ...I would like to go directly to the bottom of this page. Is it possible?

     

    No.  Not unless you can find an existing named anchor or Div ID in the code of your destination site's page section.   Even if you get lucky, this is likely to change over time. 

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points