Hi
I am reletively inexperienced with javascript and I have created some and added it to my website ([url]http://home.clara.net/derrett/test
1.
When the page is resized vertically larger a horrible flickering effect happens in the middle table cell (the one which expands), how can I get rid of this?
If the page is resized too small I get an error on page message at the bottom left hand corner of the page, how can I stop this happening?
This is the relevant bit of code:
function height()
{
if( typeof( window.innerWidth ) == ‘number’ ) {
h = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientHeight ) ) {
h = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
h = document.body.clientHeight;
}
var e = document.getElementById(“mina”);
e.height = h -216
}
All help will be greatly appreciated