Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to set size of cgi-task window?
meikel
Hi,
is there a chance to set the size of a cgi-task window?
regards
meikel
Find more posts tagged with
Comments
Migrateduser
You can do this with JavaScript in your CGI program. Since all IW clients must be IE for various things (FormAPI, VFE, etc.) to work I think you can use IE-specific code, which this may contain:
top.window.moveTo( 0, 0 );
if ( top.window.document.all )
{
top.window.resizeTo( screen.availWidth, screen.availHeight );
}
else if ( top.document.layers || top.document.getElementById )
{
if ( top.window.outerHeight < screen.availHeight
|| top.window.outerWidth < screen.availWidth )
{
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}