Do you want to buy me a beer or coffee?

Monday, January 26, 2009

resize functions

<script language="JavaScript" type="text/javascript">
function resizeContentHolder()
{
if (document.body.clientHeight > 160)
{
document.getElementById("contentHolder").style.height = (document.body.clientHeight - 138)+"px";
}
}
resizeContentHolder();
window.onresize = function () {resizeContentHolder()};
</script>

0 comments:

Post a Comment

<--nothing-->