Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Make a image slideshow w/ filmstrip work with only three images.?
I have a javascript from dhtmlgoodies at here:
demo: http://www.dhtmlgoodies.com/scripts/image_slidesho...
javascript:
http://www.dhtmlgoodies.com/scripts/image_slidesho...
Now i'm showing off a product with different styles...now on some i have more than four (which makes it work good) but if I have less than four styles...(like three pictures) and i set the offsetwidth on the javascript to zero..
(imageGalleryWidth = document.getElementById('galleryContainer').offsetWidth - 80;)
the filmstrip jumps when i hover over the right arrow...is there a way for it not to move at all when there is less than four images?
Like i said...i got it to work on four images..it doesnt move...good...but on three..it jumps over to the right..now move gradually...but just jumps..
any help...thanks
2 Answers
- AQuestionMarkLv 71 decade agoFavorite Answer
1. locate the file image-slideshow.js, open it, then
2. replace the original function with the following function
function startSlide(e)
{
if(document.all)e = event;
var id = this.id;
this.getElementsByTagName( 'IMG')[0].src = 'images/' + this.id + '_over.gif';
if( imageGalleryObj.getElementsByTagName( 'IMG').length>3){
if(this.id== 'arrow_right'){
slideSpeedMultiply = Math.floor( (e.clientX - this.offsetLeft) / 5);
slideSpeed = -1*slideSpeedMultiply;
slideSpeed = Math.max(-10,slideSpeed);
}else{
slideSpeedMultiply = 10 - Math.floor( (e.clientX - this.offsetLeft) / 5);
slideSpeed = 1*slideSpeedMultiply;
slideSpeed = Math.min(10,slideSpeed);
if( slideSpeed<0) slideSpeed=10;
}}
}
Then only when you got 4 or more thumbnails on film strip and hover your mouse over the right arrow, the thumbnails move, otherwise no.
- Anonymous4 years ago
i'm getting this perpetually and that i handle it via telling them merely such as you probably did the contract fee is X and something previous it is greater. so which you write them returned many times you basically %. out the slide numbers yet once you elect my enter to fulfill in guy or woman no difficulty yet something previous the 1st hour would be billed at $a hundred in line with hour so attempt to do as plenty historical past artwork as you are able to in case you elect to circumvent any extra fees. it is as properly to the slide teach fee of X. that's a severe high quality happy medium the place you're taking administration and set expectancies. in the event that they plan to be there for longer than that, no difficulty you're starting to be compensated.