/    Sign up×
Community /Pin to ProfileBookmark

Each time page refreshes it loads a new homepage

Hey,
I’m looking for javascript that loads a new page each time the page is refreshed or reloads. This shouldn’t be random, but a set sequence.

It seems javascript is the best method for this, does anyone have any code????? (Dire straits here!!!)

(a new image would be ok as well!)

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@Declan1991Nov 27.2008 — From what you've said, it sounds like you need a server-side language like PHP or ASP.

But to clarify, each time that the page is loaded, it need to be part of a sequence?
Copy linkTweet thisAlerts:
@aj77authorNov 28.2008 — hi,

thanks for the feedback. Yes the idea is there would be a selection of pages or images to cycle through in a certain order. You think PHP is the only way?
Copy linkTweet thisAlerts:
@mintedjoNov 28.2008 — It COULD be done in javascript with cookies i think.

But a server side language is probably better.
×

Success!

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