Dear All,
I am very new with asp.net .. I need my page will automatically maximized when start.. how to do this? .. please advise and thanks a lot in advance
Regards
Winanjayadoesn't matter that it is with .net, just use javascript as you would normally.
<html>
<head>
<script language="JavaScript" type="text/javascript">
function MaxWindow() {
var X = 0;
var Y = 0;
if (screen.availWidth){
X = screen.availWidth;
Y = screen.availHeight;
}
window.resizeTo(X, Y);
window.moveTo(0,0);
}
</script>
<body onLoad="MaxWindow();">
test
</body>
</html>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment