After much searching around for a solution to position a scrollbar inside a division which is made visible through a javascript call I came up with the following solution using anchors.
I am uploading this solution that someone may save a few minutes if encountering the same issue. Works well in IE and FF.
Button is clicked and the following code executed:
I am uploading this solution that someone may save a few minutes if encountering the same issue. Works well in IE and FF.
Button is clicked and the following code executed:
Code:
function showdiv1(){
document.getElementById('div1').style.display='block';
window.location.hash = "sec1";
}
..where...
<a name="sec1"/>
..is positioned within the newly visible div such that the division opens up at the desired scroll level.