Hi,
I'm very much a novice with scripting, and I'm trying to resize a column's length to match the main content column.
After much playing, I've come up with this:
- Code: Select all
function matchHeight(){
var bigColumnHeight=document.getElementById('content_topBG').offsetHeight;
document.getElementById('sideBG').offsetHeight=bigColumnHeight;
}
The function is called on load. Please could somebody explain why this doesn't work? It's the assignment that I'm having trouble with.
Thanks,
Andy