Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to disable minimize button in window.open , i can't use showmodal dialog,

thanks,,,
Posted
Comments
Irbaz Haider Hashmi 4-Feb-13 9:01am    
You can't.
bbirajdar 4-Feb-13 9:04am    
Not possible and not advisable.. Leave it to the user .. He will either minimize it or close it.. Be careful...If you force the user to view your website, then he will add your website to blocked list..
[no name] 4-Feb-13 9:12am    
Not possible
[no name] 4-Feb-13 9:15am    
Try window.open("url","windowname", "toolbar=no,menubar=no");
but it will remove all borders

1 solution

Well, if your users are more IE centric, then you can achieve this using the HTA (HTML Application extension). Search for .HTA pages (in MSDN) to learn how to convert your web page to .HTA page. Then, you will get full control on the browser window - even a complete frameless window (no borders, no toolbars, no title bar) plus the facility of invoking all ACTIVE-X controls without any kind of security alerts !!!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900