WordPress.org

Ready to get started?Download WordPress

Forums

how do I locate the anchor at the top of an image (5 posts)

  1. blogdropper
    Member
    Posted 2 years ago #

    Hi, I have a (Photospace) gallery with thumbnail images in a column at the left, clicking on the thumbnail opens the main (enlarged) image in the righthand panel. Problem is if I click the thumbnail at the bottom of the thumbnail column then I see the bottom half of the enlarged image.
    What do I need to do so that clicking the thumbnail will automatically jump to the top of the main image.
    Following is the code for clicking on the thumbnail:

    <a class="thumb" title="listening" href="<strong>#8</strong>" rel="history">
    <img title="listening" alt="" src="http://mosheavni-art.com/wp-content/uploads/2011/11/listening-150x150.jpg">
    </a>

    I can't find the anchor name"#8"

    Thanks for any help

    David

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    I would use CSS for the href and remove the strong tag.

  3. blogdropper
    Member
    Posted 2 years ago #

    Hi,
    Thanks for the reply, I'm a bit of a novice, please could you point me to any links that explain how to do this with css.

    Thanks

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    I have found the pages at W3 Schools helpful, like this one. Try it yourself.

  5. blogdropper
    Member
    Posted 2 years ago #

    Hi Thanks for the link, I had a look, but I already have this gallery working mosheavni-art.com. if you click the last thumbnail you'll see what I mean. I just want the top of the image to appear.
    Thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic