I've had it working if you have it at the top of the portlet. However, my portlet would contain a lot of reference links that reference anchors in the portlet and some of those anchors would be at the bottom of the portlet.
>>> "Elif Guner" <[EMAIL PROTECTED]> 5/27/2008 11:21 PM >>> Hi Dan, If your anchor is at the beginning of the container (such as a div) that has the scrollbar, it should work. I tested it and worked fine for me... Can you send your portlet html code? Also, a while back, I had seen a javascript function keeping track of what the last scroll position was, but that was for a different issue. Still, you could look into it if you want to anchor to a specific spot in your portlet. I don't remember the js code or where exactly it was, but you can google it if you think that is what you really need. elif On Tue, May 27, 2008 at 8:28 AM, Dan Olsen <[EMAIL PROTECTED]> wrote: > I am wondering if there is a way to put an HTML anchor in a portlet and > have it jump to a given point in the portlet? Currently I have an anchor in > a portlet with a scroll bar. When I click on the anchor it jumps to that > point in the portlet but I only see the very bottom of the portlet. Most of > the portlet scrolls up out of view. >