/    Sign up×
Community /Pin to ProfileBookmark

refresh page with different links

Hi All,

I am new to coding.

I want to build a page and this page should be refreshed for every 60 seconds after each refresh it has to open a new link….

for example

i have a page opend with [url]www.google.com[/url] for the first time after 60 seconds it should be refreshed and the page should be with [url]www.yahoo.com[/url] and again after 60 seconds it should be refreshed and with a new link [url]www.onlinemusic.com[/url] and so on………………..

kindly provide me some example for building this kind of page.

Thanks,
RA.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Mr_JNov 11.2006 — You would probably have to use a cookie.

Take a look at the following example, although this changes a links href the basics are about the same, the code would have to be amended to change the location instead


www.huntingground.freeserve.co.uk/scripts/cookies/seq_lnks.htm
Copy linkTweet thisAlerts:
@real13_apr1authorNov 11.2006 — Hallo J,

Thanks for your fast reply.

I am new to coding.

could you help me to provide the solution.

thanks in advance.

Regards,

RA.
Copy linkTweet thisAlerts:
@Mr_JNov 11.2006 — I think I misunderstood your question the first time

The only way you are going to get to load a different pages is if you create a new window and have the parent load them into that.

This is because if the parent page is replaced the script is not there any more to load the next, so the parent has to be kept open
×

Success!

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