• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to minimize browser window on minimize button click

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,
can anyone tell how to minimize browser on a button click.?
Our product runs in a fullscreen mode so minimize button is required that can minimize current browser window.
Now we are having a taskbar in browser itself where a button is created on minimize button click. But I need to minimize the
entire current browser.
please assist me.please tell the algorithm to do it.

thanks in advance
with regards
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There isn't a method to minimize the window in the way you want. You can make it very small. You can stop it from being in full screen mode. You can do what you are already doing.

If I had this problem, I'd have a button to make it "not full screen" and another button to "restore full screen."
 
RabiDas Sharma
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks jeanne for your reply.
But I dunno how to resize current window.

The above code can resize another window not current window.
please tell me how to resize current window.

and also please tell me how to restore current window which is in fullscreen.

thanks in advance
with regards
 
author
Posts: 297
5
Android Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Although most browsers, especially any I would use regularly, block calls to resizeTo; I'm quite happy with the size of my browser window, I don't want random people on the internet messing around with it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic