Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir,

I have open new window in popup.
But I hide the addressbar. Below my code

onclick="window.open('contrastes/index.html','_blank','height=500,width=400,left=100,top=100,resizable=yes,scrollbars=0,toolbar=0,menubar=0,location=0,directories=0,channelmode=0,titlebar=no,addressbar=0, status=0');"


Above code is not work.
Please reply ASAP.

Thanks
Mahendra Kumar Das
Posted
Comments
Prasad Khandekar 9-Apr-13 2:30am    
For security reasons browsers will not allow you to hide the addressbar. The user must be able to figure out the pgae he/she is currently accessing. It also lets user know whether the connection is a secure connection (https) or not. As an alternative you can use JQuery based popups.

 
Share this answer
 
&&&hjhj
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900