Enlarge Offer window / CPV Lab

0 replies
Is anybody useing CPVlab and getting there offer to open up in a new maximized window. Currently the closest i got was useing a script that Greedy has provided in other posts:

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>
#cpv #enlarge #lab #offer #window

Trending Topics