Loading ...

Page Resize?

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  client side web development   » Page Resize?

Page Resize?

Posts under the topic: Page Resize?

Posted: 8/26/2011

Lurker 160  points  Lurker
  • Joined on: 8/10/2011
  • Posts: 32

Hi, can someone tell me how to make the page samller.

example; Click on a link and it opens up a new seperate page (TARGET="_BLANK") but the page is like.. 200 x 340 instead of a normal size page.

Like people do on pop-ups.


Also, i need a code to disable "Maximixe" on the page.


thanks


Posted: 8/29/2011

Lurker 82  points  Lurker
  • Joined on: 9/15/2009
  • Posts: 9
  Answered

 


Hi Mino,

I am giving u a code and hope it will help u.... just follow

<html>
<head>
<title>Just Test!!</title>
<script language="Javascript">
function showwindow(height,width)
{
  window.open ("ttttt.html","mywindow","menubar=0,resizable=0,left=200,top=200,width=" + width + ",height=" + 

height);	
}
</script>
</head>
<body>
<form id="Form1" runat="server">
<input type="button" value = "Test the alert" onclick="showwindow(200,340)">

</form>
</body>
</html>

Page 1 of 1 (2 items)