I have a servlet that generates a webpage with the following structure:
The bottom of the image contains some important info. My goal is to be able to click the hyperlink at the top of the page that will scroll to the bottom of my image. The problem is if the link for the anchor is on the image itself, it always goes to the top of the image. On the other hand, if I put the link right below the image, it scrolls the page below the image and there's enough text under it so you can't see it at all.
Is there any way to add an anchor tag that will scroll to bottom of the image, so that the bottom ~100 pixels of it are visible?
Text
Text with hyperlink
Very big, dynamically generated image of varying size
Lots of Text
Text
Text
...
The bottom of the image contains some important info. My goal is to be able to click the hyperlink at the top of the page that will scroll to the bottom of my image. The problem is if the link for the anchor is on the image itself, it always goes to the top of the image. On the other hand, if I put the link right below the image, it scrolls the page below the image and there's enough text under it so you can't see it at all.
Is there any way to add an anchor tag that will scroll to bottom of the image, so that the bottom ~100 pixels of it are visible?
