image slideshow |
![]() ![]() |
image slideshow |
Aug 25 2004, 11:41 AM
Post
#1
|
|
|
old school member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,796 Joined: Jan 2004 Member No: 843 |
okay..now. everyone has that button slideshow. but whenever I put mine in. it won't move. it will just display the first image.
help? Here's the code with 2 random buttons from the exchange: CODE <!-- begin code provided by createblog.com -->
<script type='text/javascript'> // image slideshow by micron // for more xanga scripts and help go to createblog.com // set slideshow speed in seconds var speed = 2; // set transition duration in seconds (only for ie 5.5+) var duration = 1; // set transition effect (only for ie 5.5+) var transition = 'progid:DXImageTransform.Microsoft.RadialWipe(Duration='+duration+')'; var images = new Array(); // url to your images images[0] = 'http://img27.photobucket.com/albums/v82/jjajeeng/xjjx.gif'; images[1] = 'http://img29.photobucket.com/albums/v86/pztup/button.gif'; // do not edit anything below this line var preload = new Image(); for (var i = 0; i < images.length; i++) { preload[i] = new Image(); preload[i].src = images[i]; } document.write('<img src='+preload[0].src+' name="slideShow">'); var j = 0; function run() { if (document.all) { document.images.slideShow.style.filter=transition; document.images.slideShow.filters[0].Apply(); } document.images.slideShow.src = preload[j++].src; if (document.all) { document.images.slideShow.filters[0].Play(); } if (j == images.length) { j = 0; } setTimeout('run()', speed * 1000); } </script> <body onload='run()'> <!-- end code provided by createblog.com --> |
|
|
|
Aug 25 2004, 03:06 PM
Post
#2
|
|
![]() fragile ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,044 Joined: Mar 2004 Member No: 9,807 |
huh yemi...mabye try adjust the speed of the slide show
i don't know a lot of this type of code cuz i never use it but try fooling around it and sometimes it might not work because ofthe other html YOU got in there..lol... |
|
|
|
Aug 26 2004, 10:39 AM
Post
#3
|
|
![]() We are the cure. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 4,936 Joined: Jan 2004 Member No: 1,456 |
Try changing the values around until it works.
|
|
|
|
Aug 26 2004, 12:41 PM
Post
#4
|
|
![]() Alisha ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,341 Joined: Mar 2004 Member No: 9,880 |
hmm heres the code i use on my xanga. try it and see.
CODE <b>_Links</b><br><br> <!-- begin code provided by createblog.com --> <marquee direction="right" height="35" width="150" scrollAmount="5" onMouseOver="this.scrollAmount=1" onMouseOut="this.scrollAmount=5" onMouseDown="this.scrollAmount=1" onMouseUp="this.scrollAmount=1"> <!-- begin code provided by createblog.com --> <a href="http://www.x-monzter.com"><img src="http://tofumonzter.cbstaff.com/out/button/kas-x.jpg" border="0" alt="the.x-monzter"></a> <!-- end code provided by createblog.com --> <!-- begin code provided by createblog.com --> <a href="http://www.xanga.com/xquizit_442"><img src=" http://xquizit.cbstaff.com/buttons/button12.gif" border="0"></a> <!-- end code provided by createblog.com --></marquee> |
|
|
|
![]() ![]() |