Hopefully this is just gunna be a quick answer thing. Basically ive got a site that i've been doing very slowly every now and then with wordpress (1st attempt). Well i put in a jquery slider that i downloaded and it has 8 images that slide.
Can anyone give me some info so i could lower that number to say 4 images instead ?
I've looked in the scripts.js file but cant find it !!
<script type="text/javascript"> if(!window.slider) var slider={};slider.data=[{"id":"slide-img-1","client":"A week in the life of a personal trainer","desc":"Ben Camara"},{"id":"slide-img-2","client":"Playing Abroad with Royal Racing Montegnee FC","desc":"Paul Topping"},{"id":"slide-img-3","client":"This is just a test","desc":"This is just a test"},{"id":"slide-img-4","client":"This is just a test","desc":"This is just a test"},{"id":"slide-img-5","client":"This is just a test","desc":"This is just a test"},{"id":"slide-img-6","client":"This is just a test","desc":"This is just a test"},{"id":"slide-img-7","client":"This is just a test","desc":"This is just a test"},{"id":"slide-img-8","client":"This is just a test","desc":"This is just a test"}]; </script>
this are the slider.data is an javascript array. just remove last 4 slide from this variable.
OK so i deleted it so i only had 4 like i wanted, but now it doesnt seem to slide any more but you can kinda see the images slide underneath the one that is still
Hopefully this is just gunna be a quick answer thing. Basically ive got a site that i've been doing very slowly every now and then with wordpress (1st attempt). Well i put in a jquery slider that i downloaded and it has 8 images that slide.
Can anyone give me some info so i could lower that number to say 4 images instead ?
I've looked in the scripts.js file but cant find it !!
Cheers in advance
Here is what it looks like
var d=slider.data;
for(var i=0;i $('#'+d[i].id).stop().animate({left:((i-pos)*1000)},1000,'swing');
????????
this are the slider.data is an javascript array. just remove last 4 slide from this variable.
Hmmmmm any ideas ??
and that will do it...