Go Back   AmityMama.com > Frequently Asked Questions! > Techie Stuff!

 
 
LinkBack Thread Tools Display Modes
Old 09-17-2002, 01:04 AM   #1 (permalink)
noblebliss

 
Posts: n/a
Pleae HELP with javascript slideshow

hubby said it was easy...had me load up the pics and here's the code, but it's HTML and when used it just shows up at the HTML...
I see poeple still use these slideshows for their siggy pics...

can someone help me to fix this code, or if it is totally wrong, help me to get something that does work?

THANK YOU!

<html>
<head>
<script language="JavaScript1.1">
<!--
var image1=new Image()
image1.src="http://wahmommy.com/members/noblebliss/lilly.gif"
var image2=new Image()
image2.src="http://wahmommy.com/members/noblebliss/marni.gif"
var image3=new Image()
image3.src="http://wahmommy.com/members/noblebliss/zeke.gif"
var image4=new Image()
image4.src="http://wahmommy.com/members/noblebliss/zekeandmom.gif"
var image5=new Image()
image5.src="http://wahmommy.com/members/noblebliss/sigpic.gif"
//-->
</script>
</head>
<body>
<img src="http://wahmommy.com/members/noblebliss/lilly.gif" name="slide" width=225 height=280>
<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.slide.src=eval("image"+step+".src" )
if (step<3)
step++
else
step=1
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",2500)
}
slideit()
//-->
</script>
</body>
</html>
 

Sponsored Links (Become a Supporting Member to hide these :)
Old 09-17-2002, 01:21 AM   #2 (permalink)
renata
Registered User

iTrader: 1 / 100%
 
Join Date: Jul 2001
Location: Northern NJ
Posts: 1,771
people do not use slideshows in the sig lines here... they animate the .gif's, and then usethem (so all the pictures become frames of *1* image - no java-script slideshow). Html has been disabled in sig lines due to security concerns.

If you want to use it elsewhere - on your own page, for example - it will work (seems perfectly fine to me, and works).
__________________
--Renata

my skating blog



Backwards (back crossovers)
renata is offline  
Old 09-17-2002, 12:51 PM   #3 (permalink)
noblebliss

 
Posts: n/a
Oh, ok, thanks Renata
 
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Advertisements

Directory Sponsor



All times are GMT -4. The time now is 05:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC8
Amitymama.com (c) 1998-2005