C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Websplitter Height

rated by 0 users
This post has 1 Reply | 0 Followers

Not Ranked
Posts 8
asowles Posted: Fri, Sep 21 2007 6:40 PM

I am trying to use the websplitter and I cannot get it to fill my page.  I am using 100% height and 100% width.  It fills the width, but will NOT fill the height.  I added the body style tag as instructed as well in the manual.  It just will NOT do it.  When I run the page, it resizes the width as I resize the browser window, but the height does not resize.  What could be wrong?

Not Ranked
Posts 8

Ciao. It can work also for you the next function. 

function resize_elements(){

try{

document.getElementById("Splitter").style.height = document.body.clientHeight +'px';document.getElementById("Splitter").style.width = document.body.clientWidth +'px';

}

catch (ex){

window.status= 'JavaScrip Error:' + ex.message;

}

}

 

Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.