24. Januar 2011 14:13
window.resizeBy(0, tab0.scrollHeight – tab0.clientHeight);
24. Januar 2011 15:21
function OnCrmPageLoad()
{
//AdjustWindow( 300 , 400 , false , 10 , 20 );
AdjustWindow( 300 , 400 , true);
}
function AdjustWindow( width , height , center , posX , posY )
{
if( center == true )
{
posX = (screen.width - width)/2;
posY = (screen.height - height)/2;
}
window.resizeTo( width , height );
window.moveTo( posX , posY );
}
OnCrmPageLoad();