/    Sign up×
Community /Pin to ProfileBookmark

just wondering if someone could give me a script so when someone enters my website after 10 seconds of a certain page being displayed it loads a popup window with statusbar and scrollbars only (also the window NOT being resizable would be good). also when that popup page opens is there any way at all that the previous window would be able to close automaticly??#

cheers in advance

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonApr 22.2004 — Here you go, this should really annoy your visitors:

<i>
</i>
&lt;script type="text/javascript"&gt;&lt;!--

function pop(){

window.open("pop-up.html","newwin","status=1,scrollbars=1,width=x,height=y,resizable=0");

}

//--&gt;&lt;/script&gt;

&lt;/head&gt;

&lt;body onload="setTimeout('pop()',10000)"&gt;

Copy linkTweet thisAlerts:
@stormrevolutionauthorApr 22.2004 — lol annoy the visitors?

na im using this when someone visits my website its going to be in a popup window (the website), im not chucking up loads of popup ads OH NO lol! ?
Copy linkTweet thisAlerts:
@David_HarrisonApr 22.2004 — Why do you want to open your main site in a pop-up?
×

Success!

Help @stormrevolution 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 5.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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...