• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

how can i enforce the user not to resize the screen ?

hello everyone:

i am hoping that someone can tell me how to write some code in html that will not allow the user to change the size of the screen smaller that certain size. i have encounter some web pages on which i have not been able to change the size smaller than certain point.

thanks,

rene
0
chrome2000
Asked:
chrome2000
  • 2
1 Solution
 
MrDickNetNickCommented:
Here you go.  This is particularly useful for fellow Flash and Shockwave Developers.  Mess Around with the code to tailor it to your needs.  Delete the full values if you do not wish to specify them (xxxxx=xxx).  I'm sure you'll love this script as I have for a long time :)


<html>
     <head>
          <title>No Resize</title>
          <script>
if(window.location.search==""){
    window.open(window.location+'?open=1','','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=400,height=300');
}else{
    if(window.opener!=""){
         op = window.opener;
         op.opener = this;
         op.close();
    }
}
          </script>
     </head>
     <body>
     </body>
</html>
0
 
COBOLdinosaurCommented:
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

<note>
Unless it is clear to me that the question has been answered I will recommend delete.  It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>

If the user does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp


Cd&

0
 
COBOLdinosaurCommented:
It is time to clean this abandoned question up.

I am putting it on a clean up list for CS.

<recommendation>
points to MrDickNetNick

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now