javascript - How do you resize an IE browser window to 1024 x 768 -


in firefox can enter following awesome bar , hit enter:

javascript:self.resizeto(1024,768); 

how do same thing in ie?

javascript:resizeto(1024,768); vbscript:resizeto(1024,768)

will work in ie7, consider using like

javascript:moveto(0,0);resizeto(1024,768);

because ie7 doesn't allow window "resize" beyond screen borders. if work on 1024,768 desktop, happens...

  • firefox: 1024x768 window, going behind taskbar. if drop moveto part, top left corner of window won't change position.(you still 1024x768 window)
  • ie7: close possible requested size without obscuring taskbar or allowing part of window lie beyond screen borders.
  • safari: close possible requested size without obscuring taskbar or allowing part of window lie beyond screen borders, can ommit moveto part. safari move top left corner of window you.
  • opera: nothing happens.
  • chrome: nothing happens.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -