javascripthtml

How to hide javascript window.open address bar / location bar?


How can I hide the location/address bar of popup window created using JS ? am attaching a image where I marked the place wanted to be hidden.

test

Is it possible ? I use the below script for this.

    var ctr=0;
    function openpopup(popurl){
    var winName = "New_"+(ctr++);
    winpops=window.open(popurl,winName,"height=300,width=500,top=300,left=500,scrollbars=yes,resizable")
    }

and used this to call onClick='openpopup(this.href);return false;'

Please help me for the same.


Solution

  • Forget window.open(). Use jquery ui or jquery tools overlay instead. A js popup window will work.