Menu:

Latest news:

28 April 2009

Office 2007 SP2 Released
Download it here

 Newsfeed

Links:

Use these links to navigate the FAQ:

Next:
CSS to control the bullet style in bulleted lists

Previous:
Javascript to control presentation using keystrokes

All about PPT2HTML index page

Updated
4/30/2009

Microsoft MVP Logo

Javascript to force a browser window to a certain size and center itself

Thanks to Gus C in the PowerPoint newsgroup for this trick:

To force a browser window to open at a certain size and center itself on the screen, add this to your HTML (template). Substitute the values you want for width and height.

<script Language="JavaScript">
var width=678;
var height=500;
self.moveTo((screen.availwidth-width)/2,(screen.availheight-height)/2);
self.resizeTo(width,height);
</script>

[Previous] [Home] [Next]