0

I am using http://bxslider.com and I want to remove all effects. To be clear, I want effect like hide() and show() bewteen my images, just that. Is anything like this possbile to do?

Thanks!

consigliere
  • 73
  • 3
  • 11

2 Answers2

1

Maybe try with speed param. From documentation:

speed
In ms, duration of time slide transitions will occupy

Try set it to 1ms or 0ms

WooCaSh
  • 5,180
  • 5
  • 36
  • 54
0

Have you actually tried passing in 'fade' to the mode option on constructor?

$("#slideshow").bxSlider({ mode:'fade' });

http://bxslider.com/options

I would try using the onBeforeSlide callback

function(currentSlideNumber, totalSlideQty, currentSlideHtmlObject){
  // perform actions here
}

and call .hide() on both the currentSlideHtmlObject and the next slide in the sequence.

then you can use the onAfterSlide callback to .show() the next slide.

Faris M
  • 540
  • 4
  • 10
  • fade is effect and I want without any effects. – consigliere Sep 26 '12 at 05:54
  • Oh so you are saying you don't want any effect transition, you want it to be a hard transition, but still occupy the same amount of time? SO if transition time is one second, to hide current slide, then one second later show next slide? – Faris M Sep 26 '12 at 05:58
  • Ok it is acceptable but I dont how to do that. Some code please? – consigliere Sep 26 '12 at 06:01
  • I think you have it backwards, you should hide the current + next slide before transition, and then show the new current slide after transition. – Faris M Sep 26 '12 at 06:26