IntelliJ Java IDE
The moose likes HTML, CSS and JavaScript and the fly likes Making icons Max,Min as INVISIBLE in TitleBar Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Making icons Max,Min as INVISIBLE in TitleBar" Watch "Making icons Max,Min as INVISIBLE in TitleBar" New topic
Author

Making icons Max,Min as INVISIBLE in TitleBar

Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 541

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..


Cheers,
Naren (SCJP, SCDJWS and SCWCD)
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
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
 
IntelliJ Java IDE
 
subject: Making icons Max,Min as INVISIBLE in TitleBar
 
Threads others viewed
Is there any good solution to popup a dynamic image to indicate operation is being processed?
how to implement the processing of events without creating a window
hiding DOS screen
Eliminate DOS window
running a class a particular number of times
IntelliJ Java IDE