| Author |
Animated images with embedded URLs
|
Shinelin Samuel
Ranch Hand
Joined: Mar 01, 2010
Posts: 55
|
|
Hi,
I am looking to have images (more than one), which will be transitioned one after the another, the same location of the page. (Similiar to GIF). The issue I have is that, I want to know how to transition the images and associate each image with an URL. (so that, it opens up the exact link for each image).
Thanks in advance.
- Shinelin
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Have you looked at image slide shows?
Eric
|
 |
Shinelin Samuel
Ranch Hand
Joined: Mar 01, 2010
Posts: 55
|
|
Have you looked at image slide shows?
Eric, I am not very sure about your question. Are you referring to a JavaScript API or asking me if I have a seen similiar component from other websites?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56175
|
|
|
Simply switch out the src of the image element to the new URL.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Shinelin Samuel
Ranch Hand
Joined: Mar 01, 2010
Posts: 55
|
|
Bear,
I think src will solve the URL issue. But I have a case, there are more than one images that need to be changed/transitioned (say 2 secs delay).
How to do Image transition here? Thanks !
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56175
|
|
|
Same way. Why does it matter if there's more than one image? Each has a src attribute.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
You are asking about JavaScript 101 stuff.
Look into setTimeout or setInterval
Eric
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Eric Pascarello wrote:You are asking about JavaScript 101 stuff.
Isn't that kind of the point of our forums? ;)
|
 |
 |
|
|
subject: Animated images with embedded URLs
|
|
|