yairab
asked on
document.body.scroll not working i fireFox
document.body.scroll = "no" / document.body.scroll = "yes"
any idia haw to do it for fireFox
any idia haw to do it for fireFox
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it did bot work for me
her is may base code
i tray to use the code you sent -- did not work her is may cod:
function resizeWin(){
var addHeight = 0;
var maxWinHeight = screen.availHeight - 100;
var tblMain_height = document.getElementById("t
var winHeight = document.body.clientHeight
if(winHeight + (tblMain_height - winHeight + 50) > maxWinHeight) {
addHeight = maxWinHeight - winHeight;
document.body.scroll = "yes";
}
else {
addHeight = tblMain_height - winHeight + 50;
document.body.scroll = "no";
}
window.resizeBy(0, addHeight);
}
i open the window whit window.open (...,scroll=no)
thanks