Is there a landing page re-sizer available? I want to test a page but need to re size it to fit the proper dimensions.
Thanks
Just put this on the top of your page :
<script type="text/javascript">
function getfocused(){
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);
window.focus();
}
</script>
thats it? i just copy that where before which tag? the Head tag? I dont have to edit the code with the proper dimensions?
That code is for full screen and you have to but it right after the <body> tag.
To resize to specific dimensions here is the code :
<script type="text/javascript">
function getfocused(){
window.moveTo(0,0);
window.resizeTo(1024,768);
window.focus();
}
</script>
Are you allowed to resize the lander once it pops on Lead Impact?
@driv
How can you resize after click? Is there a specific code for that? and where to include it?
<script language="JavaScript">
window.onclick = 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>