question about LINKS

Discussion in 'HTML & Website Design' started by rowen77, Sep 26, 2008.

  1. #1
    I have on one page I have a vertical list of thumbnail Images. Now if I click on a thumbnail to go to the full image, then click BACK, it goes to the TOP of the page

    Is there a way to go back to the original thumbnail image I clicked on?

    Or to go to the middle of the page?

    Or to go to the bottom of the page?

    (A Simple way preferably!)

    thanks!
     
    rowen77, Sep 26, 2008 IP
  2. modulis

    modulis Guest

    Messages:
    46
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It the web site's design, add an anchor in front of each image like this:

    <a id="title_001" name="title_001" title="title_001"></a><img... /> for image 001,

    and on the second page (where you display the large image), put a link towards the first page (the one with all the images) like this: <a href="URL_of_first_page#title_001">...

    That should do the trick.
     
    modulis, Sep 26, 2008 IP
    rowen77 likes this.
  3. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could try setting a name attribute to each image. For example:
    
    <a href="http://www.yoursite.com/full_image_path/" name="mypic1"><img src="images/myimage.jpg" /></a>
    
    Code (markup):
    ... then, on the full image page, you'd need a backlink to the gallery page like:
    <a href="http://www.yoursite.com#mypic1">Go back</a>
    Code (markup):
    ... where #mypic1 (last bit in the url) would point to the exact location of the clicked image.

    Hope that helps!
     
    Ikki, Sep 26, 2008 IP
    rowen77 likes this.
  4. WebSolutions86

    WebSolutions86 Peon

    Messages:
    434
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if the link from thumbnail goes direct to the image (the url with extension .jpg or whatever) then nothing can be done.

    if the link goes to another web page which contains the full size image, then it can be done using the technique of <a href="http://www.site.com#mypic1"></a>
     
    WebSolutions86, Sep 30, 2008 IP