CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

TIWCGJQCarousel transitions

by ScottWGast » 03 Nov 2014 19:01

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.
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Alexander Bulei » 04 Nov 2014 10:54

Moved to proper section.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 04 Nov 2014 11:44

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);
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ScottWGast » 04 Nov 2014 16:41

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
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Alexander Bulei » 04 Nov 2014 16:47

Hi Scott,

I believe you can find another method.

Check documentation.

Tip: GoToPanel

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ScottWGast » 04 Nov 2014 17:00

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
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Alexander Bulei » 04 Nov 2014 17:02

Hi Scott,

Good!! )))

Now you know that there are two functions ;)

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

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ScottWGast » 04 Nov 2014 17:09

:)

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

Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Alexander Bulei » 04 Nov 2014 17:11

Hi

I will give you feedback soon...

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQCarousel

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.