?
Solved

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

Posted on 2003-02-24
3
Medium Priority
?
130 Views
Last Modified: 2010-04-09
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
Comment
Question by:chrome2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
MrDickNetNick earned 200 total points
ID: 8023400
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 8820414
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 8963783
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question