Jump to content

Recommended Posts

Need help... is there a way to fully control the width and height of your window browser?

 

I mean something like this.

 

index.php

  <script type="text/javascript">

window.open('login.php','Record','width=600,height=500,toolbar=no, location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no');

window.close();

</script>

 

when you open the index.php it will open another window that has fixed withd and height and i will not allow the user to resize the window.

 

tnx in advance

Link to comment
https://forums.phpfreaks.com/topic/241188-php-window-control/
Share on other sites

nope... that is my code but it does't working well. in IE it works fine but you still need to confirm before the parent window close, in some other browser FF,chrome the user can adjust the width and height of the new window and the parent window will not close... ^_^

Link to comment
https://forums.phpfreaks.com/topic/241188-php-window-control/#findComment-1238905
Share on other sites

sorry dude... im a total beginner in programming world... It's just that i wanted to have a window browser that have a specific width and height that i specified above and the user cannot resize or maximize the window. Do you have such a good code for doing it so? I will gladly appreciate any help...

Link to comment
https://forums.phpfreaks.com/topic/241188-php-window-control/#findComment-1238911
Share on other sites

If i cannot make the javascript work out i don't have any other option maybe but to use element. But it's just that i don't need the full screen or maximize windows because i only display minimal data. Here is the Sample Output:

 

TIME RECORD:

DATE              TIME IN      TIME OUT      LEAVE      LATE      ABSENT    UNDERTIME

6/20/2011      0830            1730                          0.00                            0.00

6/19/2011      0820            1800                          0.00                            0.00

etc...

 

Link to comment
https://forums.phpfreaks.com/topic/241188-php-window-control/#findComment-1239349
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.