Home > Paid Traffic Sources > POP / PPV / Redirect

LeadImpact Pop Resize (2)


10-24-2014 10:57 AM #1 brainbug (Member)
LeadImpact Pop Resize

Hey guys,

I know this question has been asked and answered in the past, the last threat I found on this topic was 2 years old so I was thinking I'll ask around if something has changed in the meantime and if you guys have any input or ideas.

Is it still possible to resize the LeadImpact pops to a full size window, or even to pop a new full page within the LeadImpact Pop. Basically any kind of java magic that will maximize the window to stick out.

I know that LeadImpact does not allow that and I am familiar with the risks of doing such a thing.

Thanks in advance

brainbug


10-24-2014 11:04 AM #2 qureyoon (AMC Alumnus)

Try the following:

Code:
<script type="text/javascript">
    window.onload = maxWindow;

    function maxWindow() {
        window.moveTo(0, 0);


        if (document.all) {
            top.window.resizeTo(screen.availWidth, screen.availHeight);
        }

        else if (document.layers || document.getElementById) {
            if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth) {
                top.window.outerHeight = screen.availHeight;
                top.window.outerWidth = screen.availWidth;
            }
        }
    }

</script>


Home > Paid Traffic Sources > POP / PPV / Redirect