SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    413
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    A photo link to a "specific" spot on another page?

    I know how to use a photo for a link to another page or to another website, but how do I use a photo to take the reader to a "specific" spot on another page? Any help is always appreciated...

  2. #2
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,195
    Mentioned
    71 Post(s)
    Tagged
    3 Thread(s)
    If you use a link like this:
    News.php#today

    Then use an ID in the code of the page where you want to go ( in this case the page is News.php):
    <h2 id="today">Todays news</h2>

    This actual code is untested but should give you a starting point.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •