/    Sign up×
Community /Pin to ProfileBookmark

I am having a world of trouble with the window.open command. What I am trying to do is to have one page open into the same page with the write width and height. The problem is when I put this command in:

window.open(“start.html”, “_self”, “height=520,width=720,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes”);

All I get is the window without the height, width, and everything else. I figured that someone has got to know how to do this out there before I go nuts and drop this computer off a cliff.

Any help is appreciated,
Gatorbyte

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@CharlesAug 07.2003 — [font=monospace]<a href="http://www.w3.org/" onclick="window.open(this.href, 'child', 'height=520,width=720,resizable'); return false">W3C</a>[/font]
Copy linkTweet thisAlerts:
@gatorbyteauthorAug 07.2003 — No.

That is what I want to do but in the same window. Not a popup or new blank window but the same one that it starts in.

Thanks,

Gatorbyte
Copy linkTweet thisAlerts:
@CharlesAug 07.2003 — [font=georgia]Oh, I get it. You want to change the configuration of my window, which is set the way I like and you want it to look the way you like. Fortunately, you cannot do that.[/font]
Copy linkTweet thisAlerts:
@gatorbyteauthorAug 07.2003 — Oh well that sucks. Doing it for a business client. I guess it just is not going to have that feature.

Thanks,

Gatorbyte
×

Success!

Help @gatorbyte 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.17,
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,
)...