/    Sign up×
Community /Pin to ProfileBookmark

i am very new to javascript, could you help me?

i would like a script that allows a images on my page to change depending on the date. is this possible? if so could you please tell me cus i can’t work my head around it.

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@CharlesDec 14.2002 — [font=georgia]There are quite a few ways to do this, which method to use will depend upon the answer to the following questions:

What do you want to happen where JavaScript is not present?

Do my images convey any information or are they just visualy interresting?

Does what information that is conveyed by the images change from image to image?

How many images are we talking about?

What, exactly, is the desired relationship between particular dates and particular images?[/font]
Copy linkTweet thisAlerts:
@Adrian_maunderauthorDec 14.2002 — the images have links in them and when java script is not present i want it to goto a different web page.
Copy linkTweet thisAlerts:
@Adrian_maunderauthorDec 14.2002 — one for every christian time of year so about 12.
Copy linkTweet thisAlerts:
@CharlesDec 14.2002 — [font=goergia]Can you be a little more specific?

So far I've got that each image is a picture of a URL. Does that mean that each image also needs to be a link to that URL? What are the answers to the last two questions?[/font]
Copy linkTweet thisAlerts:
@Adrian_maunderauthorDec 14.2002 — the pictures on the website must change on the page. and when the user click on the links it goes to the page (hosted some where else.
Copy linkTweet thisAlerts:
@CharlesDec 14.2002 — [font=georgia]Can you be much more specific about the relationship between day and image?

Do you have a different image for each dy or month?

Do you want a random rotation?

Do you want them cycled?

Do you have one for every first day of the month and so on?[/font]
×

Success!

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