Sc_redir _blank into full screen

(my english is not very good)
First hello everyone and thanks
my problem is when I use sc_redir(“aplicacion” ,_blank ") with the idea the launch the new aplicacion in a new page. It does, but I want to cover the screen size. It does as mid-midsize. The new application appear next to the last, not covering the screen.
Is there any way that the new applicatiion strech until cover the screen.??

Put this at the beginning of your code on the blank:

echo "<script>
if (window.screen) {
    var aw = screen.availWidth;
    var ah = screen.availHeight;
    window.moveTo(0, 0);
    window.resizeTo(aw, ah);
}  
</script>";
1 Curtida

it works perfect. thanks

1 Curtida