I have a <div> tag in my app that I minimize on the screen thereby only showing the top line of the content in that division.
The user activates the content (maximizes the content) with the mouseover event.
When active the user can scroll down through the content and mouseout minimizes it again.
My problem is this - when the content is minimized to reveal only one line, it is at the point where the user had scrolled to.
I would like to move the page backup to the top as part of my minimizing procedure. What is a good way to script that code?
Here is my method for minimizing:
The user activates the content (maximizes the content) with the mouseover event.
When active the user can scroll down through the content and mouseout minimizes it again.
My problem is this - when the content is minimized to reveal only one line, it is at the point where the user had scrolled to.
I would like to move the page backup to the top as part of my minimizing procedure. What is a good way to script that code?
Here is my method for minimizing:
Code:
function popDown25()
{
document.getElementById("freqJobDiv").style.zIndex=0;
document.getElementById("freqJobDiv").style.width = "15%";
document.getElementById("freqJobDiv").style.height = "50px";
}
Comment