I am using ddblock as a "slide" and I love the module.

The point of this homepage is to only show the slideshow.

http://midzone.stage.o-lab.se/
I have added an extra fade effect :)

Almost everything is ok, but when you are fast enough changing slides before or during the slide text animation, the slide text animation just queues.
If I change slide 10 times fast enough the slide text will fade in and out 10 times.

Has this issue been noticed before?
Is it something I can do to stop the repeating?

/Regards

CommentFileSizeAuthor
#4 ddblock.js_.patch562 bytesstephanbauer

Comments

airen2011’s picture

Status: Active » Postponed (maintainer needs more info)

Have a look at the faq question Text slide disappears if I click pager twice. What to do?

Hope this helps you further, please let me know.

yo-l’s picture

Hi iren.

Thx for tryin to help me.

I still want to fade in the slide text but it would look nicer if the fade in and out animations didn't repeat when rapidly changing slides on the pager.

/Joel.

ppblaauw’s picture

Status: Postponed (maintainer needs more info) » Postponed

The current ddblock module has no option to prevent the slidetext from repeating.
The next version will not repeat the slidetext and will have more options to control the slidetext.
Delay before showing and amount of seconds to show. Also hide and show buttons will be available.

The only workaround for now, like Iren said, is to not let it fade in.

stephanbauer’s picture

StatusFileSize
new562 bytes

Hi there,

I'm not very good with jQuery but I added a line to ddblock.js and this fixed it for me.
I also replaced jquery.cycle.all.min.js with the latest version (currently 2.88) and this fixed the problem that the content disappears if you mouseover the same pager twice (you can download it here: http://jquery.malsup.com/cycle/download.html).

Hope this helps people having the same problem.
sb

ppblaauw’s picture

Thanks for posting, works great.

Could also add the stop(true,true) in the chain

$("#ddblock-"+ opts.ddblocknr + ' ' + opts.slideTextContainer + '-' + opts.slideTextPosition).stop(true, true).fadeOut(opts.slideTextEffectBeforeSpeed);
stephanbauer’s picture

Yep, but this somehow didn't work when I tried.
Could be that I made a typo, haven't tested it again though.