This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Addressbar hiding Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 15357
    
    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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Addressbar hiding
 
Similar Threads
onload
build.xml question
Why we live?
Netscape7.1 and window.createPopup()
input type=file