/    Sign up×
Community /Pin to ProfileBookmark

Custom Size "new window"

I am hoping to have a splash screen on my index.html page that will provide a link to the actual main page. My website was built to be viewed in a specific size window (h=475, w=635) And I’m not sure how to do this.

I assume it’s something simple, like in the TARGET= part of the link, but I can’t figure out how to do this in the link.

Daniel

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@swonJan 09.2003 — Do you want to use the window.open method?

if so you can do something like that:

<a href="mainpage.html" onClick="window.open(this.href,'main','width=635,height=475,locationbar=yes');return false">go to mainpage</a>
Copy linkTweet thisAlerts:
@Robert_WellockJan 09.2003 — You made a typo with [b]h[/b]ref ?:

<i>
</i>... onclick="window.open(this.href, ...
Copy linkTweet thisAlerts:
@swonJan 09.2003 — Re: you made a typo


you're right, thx ?
×

Success!

Help @danieldobyns 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.1,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

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