|
Blue Forest http://www.lslnet.com at 6:28 p.m. on August 22, 2006
The positioning of js Mytips of a layer with the following control position,
Function showtitle (tips, flag) (
Var my_tips=document.all.mytips;
If (flag) (
My_tips.style.display= "";
My_tips.innerHTML=tips;
My_tips.style.left=window.event.x+20;
My_tips.style.top=window.event.y+10;
}
Else
{
My_tips.style.display= "none";
}
}
But after moving the rolling of a big page, located on the upper level, so how in a relatively level position?
For example, next to the mouse
|
Solve the problem of the increase document.body.scrollLeft |
|