File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Addressbar hiding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Addressbar hiding" Watch "Addressbar hiding" New topic
Author

Addressbar hiding

Deepa More
Ranch Hand

Joined: May 22, 2006
Posts: 68
Is there any way to hide address bar when window is opened using :


Thanks
deepa
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Only way to hide the address bar is to use window.open().

Eric
Deepa More
Ranch Hand

Joined: May 22, 2006
Posts: 68
Ok, then is it possible to send all form bean elements to window.open() method, actually previously I used to send it by submitting form. I am aware of only one method that is by adding paramteres to url (you can say querystring). Is there any easier method to do this?

Thanks,
Deepa
Subhadip Chatterjee
Ranch Hand

Joined: Dec 12, 2006
Posts: 93
Hi deepa,
"window.opener" will give you a reference to you parent window, inside the pop-up.with this you can access you parent page's form-fields, as
"window.opener.document.<form_name>.<field_name>.value"

I hope you will do some R&D on this, so happy hunting.


Refreshing life every moment...
Deepa More
Ranch Hand

Joined: May 22, 2006
Posts: 68
That means I have to open the window first, then pass parameter of parent window for submission on load of child window?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Addressbar hiding