Enlarge Offer window / CPV Lab
I put this code into my landing page just before the </body>. when i tested it though, it seemed to maximize the actually landing page. Not sure what to do and have spent a lot of time trying to figure this out.
Any help would be greatly appreciated.
-Ben
<script language="JavaScript">
window.onload = maxWindow;
function maxWindow()
{
window.moveTo(0,0);
if (document.all)
{
top.window.resizeTo(screen.availWidth,screen.avail Height);
}
else if (document.layers||document.getElementById)
{
if (top.window.outerHeight<screen.availHeight||top.wi ndow.outerWidth<screen.availWidth)
{
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
</script>