문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top