Click to See Complete Forum and Search --> : open new browser window


bobby_dummy_022
11-19-2003, 07:42 PM
I want to have a <form> which when a button is clicked, it opens up a new browser window, except without the navigation controls at the top of the new window.

I have seen these around on the net, but I am not sure how to do it.

I need the new window to contain a <form> which takes input from the user, (textfields etc) and then upon clicking a button, that information is passed back to the original page.


How can I do this? or where can I find a tutorial on how to do this?

96turnerri
11-19-2003, 09:51 PM
here the commands

if not included in window.open function the will be there
so have say menubar=no and the menubar will not be there

scrollbars
resizable
menubar
status
location
toolbar
copyhistory
directories

pyro
11-19-2003, 09:53 PM
http://www.webdevfaqs.com/javascript.php#popup

96turnerri
11-19-2003, 09:53 PM
sorry i was presuming you had the window.open code if you dont its
<a href="#" onclick="window.open(this.href, '', 'height=200,width=300,menubar=no' );return false;">

nwspinner
11-22-2003, 10:34 AM
I have a similar problem with a popup javascript. I used the popup generator that y'all have, but when I open up my page that includes the popup windows, a blank popup window appears. This was only happening in IE 6.0, but started to in Netscape 7.1 as well. This is the page
http://members.toast.net/nwspinner/bluemoonfibers.html
Can someone take a look and see what error I have in my coding?
I am really new at javascript and would appreciate any and all help!

thanks
bj

Never mind, as I was looking at my html page I found extra javascript at the bottom of the page that I had pasted there for safe keeping :eek:
It works fine now!

Great resource this, it makes one think and re-examine details. Thanks

bj

pyro
11-22-2003, 10:38 AM
Try using the popup code that I linked to above...

nwspinner
11-22-2003, 11:04 AM
Thanks Pyro. I am not sure if that code would work when I have 2 windows to pop up on one page. As I said I am not really knowledgible (nor can I spell!) on javascript yet. Anyway, you can see that I found my problem. One I created all by myself!

bj

96turnerri
11-22-2003, 05:43 PM
yes window.open can be used more than once on a page