开发者

How to create borderless popup windows?

So a normal popup but without the original borders and styles what comes from the Operating system.

Is there a way to style these popups?

EDIT: Simply HTML elements are not good like <div> b开发者_开发问答ecause they cannot be on front of the windows in the OS.


‘Chromeless’ pop-up windows used to be allowed in IE via showModalDialog, showModelessDialog and createPopup, but were a disaster for usability and security reasons. They allowed any web page to fake UI on any part of the screen (effectively ‘click-jacking’ the entire desktop, circumventing all security-related UI), and were typically used for the most obnoxious advertising.

IE introduced restrictions on them (dialog unadorned is not available to web pages, and createPopup popups can no longer obscure other windows) which are not going to go away, and other browsers never implemented them at all.


You can just display an HTML element in front of the web-page. Take a look at w3viewer.com. Click on the "About" link in the bottom left corner.


The answer to this is basically no. You generally cannot style windowed content in a browser...it is possible to style scrollbars and a few other elements in some browsers but nothing can be consistently done to change the browsers 'chrome'.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜