How do i change images every 5 seconds on my web page? I have tried something but the first image is getting displayed but the rest of the images r not and i have used update panel and timer
fastina hasini
0
Newbie Poster
Recommended Answers
Jump to PostUse JavaScipt. In the HEAD section in your HTML:
<script src="js/nameofjavascript.js" type="text/javascript"></script>
In the BODY section, place an IMG element with the name tag set to for example "slide", likte this:
<img src="picture1.png" name="slide" width="800" height="200" />
Example JavaScript:
Jump to PostIt goes in the javascript, which I refered to in the HTML as js/nameofjavascript.js.
All 7 Replies
Sugmuffen
3
Newbie Poster
fastina hasini
0
Newbie Poster
Sugmuffen
3
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
fastina hasini
0
Newbie Poster
Sugmuffen
3
Newbie Poster
fastina hasini
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.