Forum Moderators: open

Message Too Old, No Replies

How to hide titlebar in IE?

         

nige01

4:53 am on Nov 19, 2002 (gmt 0)



I am opening a popup in a new window but do not want the titlebar displayed (this will expose the URL used). How do I do it? The titlebar attribute of window.open only appears to be NN compatible.

Nige

Macguru

5:05 am on Nov 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi nige01,

Welcome to WebmasterWorld. [webmasterworld.com]

I use this code for clickable pop ups.

<a href="foo.htm" onClick="window.open('foo.htm','','scrollbars=no,resizable=no,menubar=no,toolbar=no');return false;" target="_blank">Your link text or image</a>

This opens a new window without a menu bar, is compatible with search engines and most browser even if not Javascript enabled.

You can also work other stuff like window position on screen right after the window.open(