NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page need help adding fade effect to my javascript slide show

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Reply
 
LinkBack Thread Tools
Old 10-30-2010, 02:01 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Sep 2007
Posts: 244
hangman21 is on a distinguished road
 



need help adding fade effect to my javascript slide show


my coding is on the next post below since its long, but all help is appreciated, thanks alot

---------- Post added at 01:01 AM ---------- Previous post was at 12:51 AM ----------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript">
<!--
var image1=new Image()
image1.src="images/slideshow/image001.jpg"
var image2=new Image()
image2.src="images/slideshow/image002.jpg"
var image3=new Image()
image3.src="images/slideshow/image003.jpg"
var image4=new Image()
image4.src="images/slideshow/image004.jpg"
var image5=new Image()
image5.src="images/slideshow/image005.jpg"
var image6=new Image()
image6.src="images/slideshow/image006.jpg"
var image7=new Image()
image7.src="images/slideshow/image007.jpg"
var image8=new Image()
image8.src="images/slideshow/image008.jpg"
var image9=new Image()
image9.src="images/slideshow/image009.jpg"
var image10=new Image()
image10.src="images/slideshow/image010.jpg"
var image11=new Image()
image11.src="images/slideshow/image011.jpg"
var image12=new Image()
image12.src="images/slideshow/image012.jpg"
var image13=new Image()
image13.src="images/slideshow/image013.jpg"
var image14=new Image()
image14.src="images/slideshow/image014.jpg"
var image15=new Image()
image15.src="images/slideshow/image015.jpg"
var image16=new Image()
image16.src="images/slideshow/image016.jpg"
var image17=new Image()
image17.src="images/slideshow/image017.jpg"
var image18=new Image()
image18.src="images/slideshow/image018.jpg"
var image19=new Image()
image19.src="images/slideshow/image019.jpg"
var image20=new Image()
image20.src="images/slideshow/image020.jpg"
//-->
</script>
</head>

<body>
<img src="images/slideshow/image001.jpg" name="slide">

<script type="text/javascript">
<!--
//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" )
????: NamePros.com http://www.namepros.com/programming/684789-need-help-adding-fade-effect-my.html
if (step<20)
step++
else
step=1
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",2500)
}
slideit()
//-->
</script>
</body>
</html>
hangman21 is offline   Reply With Quote
Old 11-04-2010, 08:49 PM   #2 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of
 



Your best bet would be to use jquery - look at http://www.geeksucks.com/toolbox/23-...out-effect.htm
nasaboy007 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Master Resale Rights Videos Package The_Inferno Content For Sale 0 12-31-2009 07:45 PM
Adding a slide show to your website header marlins59 Graphic Design / Flash 5 11-15-2007 06:29 AM
Handy Javascript Code Snips DNVC CODE 3 07-21-2007 11:18 AM
Adding Javascript to pre-existing Javascript Page nigelwong Programming 0 12-16-2005 06:20 AM

 
All times are GMT -7. The time now is 02:39 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger