Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
how could I open new window with javascript with no address bar
or a least hide requests from addressbar .
Posted
Updated 22-Aug-12 0:48am
v2
Comments
bbirajdar 22-Aug-12 7:27am    
Open the contents in a 'div'. It will work like a browser window without the address bar...
Mahnoosh_M 22-Aug-12 7:30am    
I want users can use current webpage too ,,and also the new form with some content shows.. how can I do this with div ?

Hi,

CSS
Because of security standard; this may not be possible now. Look at below urls for more details

http://stackoverflow.com/questions/4243377/hiding-address-bar-in-popup-window
http://stackoverflow.com/questions/1673003/popup-window-how-to-hide-url-bar-in-ie8

Thanks

~~Karthik.J~~
 
Share this answer
 
Comments
Mahnoosh_M 22-Aug-12 7:32am    
thanks , I agree with you ... but is there any possible way to hide some info that I want to send in new form .. except request or session ?
[no name] 22-Aug-12 7:49am    
write info and save in specific file...
On next form read that file and use it
The syntax is window.open (URL, windowName[, windowFeatures]) where the optional third parameter is a list of window features, which includes control over the address bar.

Here[^] is some documentation.
 
Share this answer
 
 
Share this answer
 
Solution is
-----------
JavaScript
window.open('Webform2.aspx','','toolbar=no');

More information about Window open() Method[^].
You can check the execution by editing the html in W3School's try it editor[^].
 
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