superM
superM

Reputation: 8695

Chrome window resizing issue

I want to resize my browser window, but my code doesn't work for Chrome. Could anyone please help me? Thanks.

<script type="text/javascript">
function alertClick(event, formElem)
{
     window.resizeTo(600, 600);
}   
</script>

Upvotes: 1

Views: 5810

Answers (1)

J. Steen
J. Steen

Reputation: 15588

Apparently, it's an omitted feature.

The bug report Issue 2091: window.resizeTo() doesn't have any effect on the Chromium project has more information and plenty of discussion on the matter.

Upvotes: 2

Related Questions