Home >
Questions and Answers >
General Questions
I have put the Js landing page resizer, but not functionnaly good? (2)
07-17-2011 12:58 AM
#1
10000dollar (Member)
I have put the Js landing page resizer, but not functionnaly good?
Hello, I have put this code (like bbrock said) after the <body> tag on my site:
Code:
<script type="text/javascript">
function getfocused(){
window.moveTo(0,0);
window.resizeTo(1024,768);
window.focus();
}
</script>
this is my site:
http://vblog.us/y
and I test it on popup previewer affexpert tool but the size of popup still same? 775x400(I try on leadimpact popup)
Please help me
07-17-2011 01:42 AM
#2
10000dollar (Member)
case solved, I have search on google and put this after <head> tag:
<script language="JavaScript1.2">
<!--
top.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>
maybe you that have some question like me
Home >
Questions and Answers >
General Questions