1) Script Title: Manual Slideshow
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlslide.htm
3) Describe problem:
How can I get this to be transition-less? Meaning no effect at all when switching between images.
1) Script Title: Manual Slideshow
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlslide.htm
3) Describe problem:
How can I get this to be transition-less? Meaning no effect at all when switching between images.
In this function of the javascript code, just add the highlighted part:
Hope this helps.Code:function playeffect(){ if (document.all && photoslider.filters)//photoslider.filters.revealTrans.play() }
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
I tried this and now the images will not display at all.
Here's the url:
http://www.elnativogrowers.com/plantsPage.php?2/#
Actually, you need to modify these two functions as shown (additions red):
Or you could just remove those lines with the // entirely.Code:function backward(){ if (which>0){ which-- //applyeffect() document.images.photoslider.src=photos[which] //playeffect() keeptrack() } } function forward(){ if (which<photos.length-1){ which++ //applyeffect() document.images.photoslider.src=photos[which] //playeffect() keeptrack() } }
Once they are commented out or removed, you can (but don't need to) also get rid of these two functions:
as they will no longer be used.Code:function applyeffect(){ if (document.all && photoslider.filters){ photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23) photoslider.filters.revealTrans.stop() photoslider.filters.revealTrans.apply() } } function playeffect(){ if (document.all && photoslider.filters) photoslider.filters.revealTrans.play() }
And although it doesn't seem to matter one way or the other, you can get rid of:
from the part of the code that goes in the body of the page. Doing so will lighten the load of the page slightly and make it more nearly valid (if that sort of thing concerns you).Code:style="filter:revealTrans(duration=2,transition=23)"
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Thank You Brother! Will Make Valid When Get Time.
Bookmarks