最大化按钮 [英] Maximize Button

查看:113
本文介绍了最大化按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ImageButton1.Attributes.Add("OnClick", "window.open(''utsav.aspx'',null,''width=515,height=460,resizable=No,menubar=0,toolbar=no,scrollbars=no '');");




单击ImageButton1打开pop_op窗口,此窗口隐藏最大化按钮
此代码无法在ASP.NET中正常工作.

如何隐藏最大化按钮?

请告诉我如何在ASP.NET中隐藏最大化按钮.




ImageButton1 on click open pop_op window this window hide maximize button
This code is not working properly in ASP.NET.

How to hide maxmize button?

Please tell me how to hide maxmize button in ASP.NET.

推荐答案

这些按钮是浏览器GUI的一部分.它们不能被JavaScript隐藏.允许这样做的任何浏览器都不会持续很长时间,因为用户会不同意接受这种行为.狡猾的网站肯定会滥用此功能.

最好的问候,
Manfred
These buttons are part of the browser''s GUI. They cannot be hidden by JavaScript. Any browser that would allow for that would not last very long, because the users would not acccept this behavior. This feature would definitely be misused by dodgy websites.

Best Regards,
Manfred


尝试标题栏可调整大小属性!

详细了解一下: Window.open方法 [ ^ ]
Try titlebar or resizeable property!

Have a look at this for full detail: Window.open Method[^]


这篇关于最大化按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆