/    Sign up×
Community /Pin to ProfileBookmark

JS code: linking webpages with different shown image (onclick)

This is what I am seeking:

On the main page we have 3 different images (img1, img2, img3), that must link to another page (photo page) with a photo in the middle enlarged: for example if I click img1 i will go to the photo page with img1 enlarged in the middle, and if I click img2 will go to the photo page with img2 in the middle.

the photo page has photo thumbnail sliding at the bottom of the page that links to the same middle enlarged photo based on the clicked photo.

is it doable with JS? or should I look somewhere else?

thanks.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 31.2010 — Probably doable with JavaScript, but we need to see the photo page.

You should consider doing this with a server side language for better accessibility.
×

Success!

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