how to resize a browser in asp.net

Posted by Shanky11 under ASP.NET on 9/15/2012 | Points: 10 | Views : 2480 | Status : [Member] | Replies : 3
Response.Write("<script>");
Response.Write("window.open('www.javascript-coder.com","mywindow","menubar=1,resizable=1,width=350,height=250')");
Response.Write("</script>");




Responses

Posted by: Jayakumars on: 9/27/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

try this Code


<script>
function Jopen() {
window.open("http://www.w3schools.com", 'My Window', 'width=200,height=100','resizable=1');
}
</script>
<input type="button" onclick="Jopen();" value="Click" />


use the mouse point bottom of the window use resize


Mark as Answer if its helpful to you

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 9/27/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi
Please mark as answer if it helpful to you.

Mark as Answer if its helpful to you

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/27/2012 [Member] Starter | Points: 25

Up
0
Down
Nice code

Thanks & Regards
Hari

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response