Resizing oversize window: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (relative size is prolly better)
(fix JavaScript example, include more methods that were implied, include causes)
Line 1: Line 1:
If you're having trouble resizing an oversized window:
'''If you're having trouble resizing an oversized window:'''
*Enable [[JavaScript]]. (''Firefox'': [[Menu differences in Windows, Linux, and Mac|Tools -> Options]]  -> Content -> Enable JavaScript; ''Mozilla Suite:'' Edit -> Preferences -> Advanced -> Scripts & Plug-ins -> Enable JavaScript for -> Navigator)
*Enable [[JavaScript]]. (''Firefox'': [[Menu differences in Windows, Linux, and Mac|Tools -> Options]]  -> Content -> Enable JavaScript; ''Mozilla Suite:'' Edit -> Preferences -> Advanced -> Scripts & Plug-ins -> Enable JavaScript for -> Navigator)
*Make sure scripts can resize windows. (''Firefox'': [[Menu differences in Windows, Linux, and Mac|Tools -> Options]]  -> Content -> Advanced JavaScript settings. ''Mozilla Suite:'' Edit -> Preferences -> Advanced -> Scripts & Plug-ins).
*Make sure scripts can resize windows. (''Firefox'': [[Menu differences in Windows, Linux, and Mac|Tools -> Options]]  -> Content -> Advanced JavaScript settings. ''Mozilla Suite:'' Edit -> Preferences -> Advanced -> Scripts & Plug-ins).
*Type:  '''javascript:top.resizeTo(screen.width*0.8,screen.height*0.8)''' into the [[:Category:Location Bar | Location Bar]] and press Enter.
*Type:  '''javascript:top.resizeTo(screen.width*0.8,screen.height*0.8);self.moveTo(0,0);''' into the [[:Category:Location Bar | Location Bar]] and press Enter.
 
'''Other methods of resizing windows:'''
*Drag the edges of the windows to resize, drag window by title bar to move
*On Windows use Alt+SpaceBar to move and resize window, especially if the title bar is not accessible because the window is too high.


If after following these steps, new windows still start up too big, you may have a [[corrupt localstore.rdf]].
If after following these steps, new windows still start up too big, you may have a [[corrupt localstore.rdf]].
'''Some causes leading to problems of oversized Windows:'''
*Extensions: Babylon Toolbar 1.1.8, vshare 1.21
*Zooming and them moving the window.


[[Category:Issues (Firefox)]] [[Category:Issues (Mozilla Suite)]]
[[Category:Issues (Firefox)]] [[Category:Issues (Mozilla Suite)]]

Revision as of 00:20, 20 July 2011

If you're having trouble resizing an oversized window:

  • Enable JavaScript. (Firefox: Tools -> Options -> Content -> Enable JavaScript; Mozilla Suite: Edit -> Preferences -> Advanced -> Scripts & Plug-ins -> Enable JavaScript for -> Navigator)
  • Make sure scripts can resize windows. (Firefox: Tools -> Options -> Content -> Advanced JavaScript settings. Mozilla Suite: Edit -> Preferences -> Advanced -> Scripts & Plug-ins).
  • Type: javascript:top.resizeTo(screen.width*0.8,screen.height*0.8);self.moveTo(0,0); into the Location Bar and press Enter.

Other methods of resizing windows:

  • Drag the edges of the windows to resize, drag window by title bar to move
  • On Windows use Alt+SpaceBar to move and resize window, especially if the title bar is not accessible because the window is too high.

If after following these steps, new windows still start up too big, you may have a corrupt localstore.rdf.

Some causes leading to problems of oversized Windows:

  • Extensions: Babylon Toolbar 1.1.8, vshare 1.21
  • Zooming and them moving the window.