• 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

Making icons Max,Min as INVISIBLE in TitleBar

 
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
My problem is make the icons Maximization and Minimization as Invisible in my window. It should look a prompt in JS (i,e.. having only window close icon). Are there any methods to make them invisible just as for scrollbars,menubar,toolbar,etc..
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can not do that....
What you should do is the following, use layers with an iframe to create what looks to be the effect you want.
This way you would have full control over it and will not have to worry about pop up blockers...
<div id="alert_div">
<iframe></iframe>
</div>
and you show and hide the div
document.getElementById("alert_div").style.display="none"; //hide
document.getElementById("alert_div").style.display="block"; //visible
search this forum or the web on how to use iframes.
Eric
 
Do you pee on your compost? Does this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic