DelphiFAQ Home Search:
General :: Web publishing :: JavaScript
Code snippets to add functionality to your HTML pages, preferably cross-browser.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Opening a window without a title bar

Question:

How can I open a window (popup) without a titlebar?

Answer:

(The following applies to Internet Explorer.)

The relevant parameter is fullscreen. A window in fullscreen has no title bar. If the document displayed in the popup shall not appear fullscreen (but still without title bar) then you can use the resizeTo command there (in the other document) to make it samller.

See the example and the other related tip.

<script language="JavaScript" type="text/javascript">
 <!-- 
 var w = window.open('http://www.yahoo.com/','','fullscreen=yes');
 // -->
 </script>
 

Generated 12:02:14 on Oct 20, 2017