/    Sign up×
Community /Pin to ProfileBookmark

Script Request

Hello,

Once again I need help (whats new) lol. I need a script that’ll take the user to a page (on another site), pop up an alert window, then after the page loads go to a different page on a different site, pop up an alert window, then after THAT page loads go to a different page on a different site, pop up an alert window.

For the “when the page loads”, you could just have it so it waits 3 seconds (that should be enough time for it to load) then go on to the alert box.

Thanks!

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@lmccord2authorMay 11.2003 — lol, auctually I'm just doing it for my own testing. Then what would the script be for changing those framesets?

Thanks!
Copy linkTweet thisAlerts:
@lmccord2authorMay 12.2003 — 'up' again (lol, it was on the 3rd page)
Copy linkTweet thisAlerts:
@JonaMay 12.2003 — OK, you'd have to use

var site = top.rightFrame.src;

top.rightFrameName.onload=alert("We have loaded page "+site+".");

Put in in a function, e.g., "shootFrame()":

<a href="http://SomeSite.org/" onClick="javascript:shootFrame();" target="rightFrame">Shoot the frame! ?</a>

(Make sure that "Javascript" above is in lower-case and has no spaces.)
×

Success!

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