/    Sign up×
Community /Pin to ProfileBookmark

Help with non-typical pop up

I’m using a 3rd party website for a business that has the option to popup a windows after an application submission.. so I do not have the ability to add anything more than a URL to set a location for the popup page. What I need is for the page I created to be sized to width=883,height=400. I’ve been trying the following script:

[I]<!– Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval(“page” + id + ” = window.open(URL, ‘” + id + “‘, ‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=883,height=400,left = 248.5,top = 280’);”);
}
// End –>
</script>[/I]

This script works when i can link it from one of my own pages, but I cannot do that going through a 3rd party site for the popup. Can someone suggest a code that would allow the page to size and have a bollian value of o for toolbar, location, statusbar, menubar, resizeable, etc? I have tried a ‘replace’ value, but it doesn’t do what I want it to do. Please help.

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

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