/    Sign up×
Community /Pin to ProfileBookmark

open new browser window

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?

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@96turnerriNov 20.2003 — 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
Copy linkTweet thisAlerts:
@96turnerriNov 20.2003 — 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;">
Copy linkTweet thisAlerts:
@nwspinnerNov 22.2003 — 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
Copy linkTweet thisAlerts:
@pyroNov 22.2003 — Try using the popup code that I linked to above...
Copy linkTweet thisAlerts:
@nwspinnerNov 22.2003 — 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
Copy linkTweet thisAlerts:
@96turnerriNov 22.2003 — yes window.open can be used more than once on a page
×

Success!

Help @bobby_dummy_022 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...