View Single Post
  #1 (permalink)  
Old May 1st, 2008, 15:40
uzilover uzilover is offline
New Member
Join Date: Sep 2007
Location: Romford, UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
dynamic column resizing

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
Reply With Quote