I would look into finding where in the script the position of the layer is kept. Most likely this would be some variable named something like 'scrollPos' or whatever, it could be any unique (hopefully descriptive) name. Now, this position will be stored either as an integer or as a number of pixels like 20px. Most likely an integer. Also, it is likely that the 'Layer' (a division probably) position corresponds to its scrollTop property. So, lets say this layer is a division with an id of say, 'scroller', you could set the variable I mentioned earlier by this element's scrollTop value a moment or so after each anchor link is clicked using this type of link:
Code:
<a href="anchor_name" onclick="return updatePos();">Anchor Description</a>
and a function like so:
function updatePos(){
setTimeout("scrollPos=document.getElementById('scroller').scrollTop", 75);
return true;
}
Note: For this to work, scrollPos (or whatever this variable is actually called) would need to be a global variable in the original script or converted into one.
Bookmarks