Page 1 of 1

TIWCGJQCarousel transitions

PostPosted: 03 Nov 2014 19:01
by ScottWGast
Is there a way to disable the transition?

When I set the transition to jqctsNone, it still slides from right to left.

I would like to have a transition that would just pop the new panel in place of the previous panel.

What do you think?

Thanks for all your work.

Scott

UPDATE: I found the .JumpTo method, so this is not an issue.

Re: TIWCGJQCarousel transitions

PostPosted: 04 Nov 2014 10:54
by Alexander Bulei
Moved to proper section.

Re: TIWCGJQCarousel transitions

PostPosted: 04 Nov 2014 11:44
by Alexander Bulei
Hi Scott,

Did you checked the plugin documentation? (right click -> plugin documentation)

From plugin documentation:

Important! CSS3 transition works only in modern browsers that support CSS3 translate3d methods and only with single item on screen.
Use transitionStyle option to set transtion. There are four predefined transitions: "fade", "backSlide", goDown and scaleUp.


Only one thing you should to do:

delphi code
IWCGJQCarousel1.JQCarouselOptions.TransitionStyle:= jqctsFade;
IWCGJQCarousel1.AjaxReRender(True,False);

Re: TIWCGJQCarousel transitions

PostPosted: 04 Nov 2014 16:41
by ScottWGast
Hey Alexander,

Yes, I had already read the documentation... and found that there are a specific set of transitions types. I found out, however, that if I use the .JumpTo method on the carousel, the transition is ignored and the panel specified in .JumpTo is displayed immediately, without a transition.

This is the functionality I was looking for.

Thanks for the info.

Scott

Re: TIWCGJQCarousel transitions

PostPosted: 04 Nov 2014 16:47
by Alexander Bulei
Hi Scott,

I believe you can find another method.

Check documentation.

Tip: GoToPanel

Best Regards.

Re: TIWCGJQCarousel transitions

PostPosted: 04 Nov 2014 17:00
by ScottWGast
Alexander,

According to the documentation, .JumpTo is exactly the method I need... it goes directly to the specified panel and displays it without the transition.

.GotoPanel does go to the desired panel, but it uses the transition...

Scott

Re: TIWCGJQCarousel transitions

PostPosted: 04 Nov 2014 17:02
by Alexander Bulei
Hi Scott,

Good!! )))

Now you know that there are two functions ;)

P.S: Will check the issue with font size on edits.

Best Regards.

Re: TIWCGJQCarousel transitions

PostPosted: 04 Nov 2014 17:09
by ScottWGast
:)

Thank you for checking on the .Font.Size issue on the Edit controls!

Scott

Re: TIWCGJQCarousel transitions

PostPosted: 04 Nov 2014 17:11
by Alexander Bulei
Hi

I will give you feedback soon...

Best Regards.