/    Sign up×
Community /Pin to ProfileBookmark

Fading slide show

Hello all. I am building a website using xhtml transitional, and I would like a javascript fading slide show on one of my pages. I do not know javascript, but know xhtml well. Could someone help with a script, the ones I find online are outdated scripts. Thanks you!

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@rnd_meFeb 07.2009 — you can try one i made, it was made recently...

it can be embedded in a iframe or object tag.

see this simple demo for more info.
Copy linkTweet thisAlerts:
@ADLEauthorFeb 16.2009 — thank you for the demo, it is awesome, but I am looking for something a little simpler though.

[B]I would like to work with this, what do I need to add to make it fade?[/B]

[CODE]<head>
<script type="text/javascript">
<!--
var image1=new Image()
image1.src="nigelpuddin.jpg"
var image2=new Image()
image2.src="amynigeljudy.jpg"
//-->
</script>
</head>[/CODE]


[CODE]<script>
<!--
//variable that will increment through the images
var step=1
function slideit(){
//if browser does not support the image object, exit.
if (!document.images)
return
document.images.nigelslide.src=eval("image"+step+".src")
if (step<2)
step++
else
step=1
//call function "slideit()" every 5 seconds
setTimeout("slideit()",5000)
}
slideit()
//-->
</script>[/CODE]
Copy linkTweet thisAlerts:
@ADLEauthorFeb 18.2009 — Any suggestions? ?
×

Success!

Help @ADLE 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...