This website is not affiliated with, sponsored by, or approved by SAP AG.

Expanding Layout to screen size in NW04s

All postings related to SEM only

Moderators: Snowy, thx4allthefish

Expanding Layout to screen size in NW04s

Postby Sluppermand » Mon Jul 02, 2007 6:50 am

Hi,

I have Web Interface which is generated by the Web Interface Builder.

In the this Interface I have several Layout I want to fit to the screen.

In the old version (3.1) I used a script like this.


Code: Select all
<SCRIPT type="text/javascript" LANGUAGE="JavaScript">
  layout_sheet = getBpsExcel( "L_Layout" );
  layout_sheet.style.width = document.body.clientWidth - 10;
  layout_sheet.style.height = document.body.clientHeight - 105;
</SCRIPT>


When using this function in 3.5 or 7 the document.body.clientHeight and Width are 0.

Does anyone know how to get it working again. Or a standard function to use?
Sluppermand
 
Posts: 1
Joined: Mon Jul 02, 2007 6:45 am

Return to SEM

Who is online

Users browsing this forum: No registered users and 2 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.