CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Carousel panel with JPG and edit controls

by ScottWGast » 31 Oct 2014 22:10

I'm displaying a JPG image on a carousel panel along with a few edit items that overlay the JPG image.

The issue I'm having is that the edit items render completely before the JPG image has finished displaying and so they show up on the screen for a second by themselves before the image loads.

You can see the issue here:
http://www.scottanddonie.com

I've tried making the controls visible in the following events, but they still show up early...

Carousel.OnAfterRenderHTML
Carousel.OnRender
Carousel.Events.OnAfterMove.OnEvent

Oh ... you can also see that the font sizes are not the same for the TIWCGJQEdit components in comparison to the TIWCGJQDatePicker and TIWCGJQComboBoxEx. I'd like all of the TIWCGJQEdit controls to have the same font size as the TIWCGJQDatePicker.

What do you think?

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

by Alexander Bulei » 03 Nov 2014 13:29

Hi ScottWGast,

http://www.scottanddonie.com


Doesn't work...

Please send us the simple testcase project. t.i.a

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 » 03 Nov 2014 15:17

Dangit... I took that test website down..

Please try http://www.s2softwaretest.com

Thanks,
Scott

UPDATE: I have temporarily worked around the problem with the varying font sizes so the above link will display correctly...
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:57

Hi Scott,

The issue I'm having is that the edit items render completely before the JPG image has finished displaying and so they show up on the screen for a second by themselves before the image loads.


But I can't see this behavior:

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 15:55

I just tried and, maybe it's the speed of my internet connection, but the edit controls display first and then the JPEG image slides in underneath the edit controls about 1 second later.

http://www.s2softwaretest.com

Could you click on it one more time and see if that's what happens to you?

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

by Alexander Bulei » 06 Nov 2014 11:50

Hi ScottWGast,

We have implemented new component : IWCGJQEventBinder - Allows to attach the events to any control or jquery selector.
Also, have 4 events for images.

Available since v2.3.0.83.

When you get it, i will show you the way ;)

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 » 10 Nov 2014 17:23

I've downloaded and installed 2.3.0.85 for IW 14.0.32...

What do I do now? :)

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

by Alexander Bulei » 10 Nov 2014 17:54

Hi ScottWGast,

The issue I'm having is that the edit items render completely before the JPG image has finished displaying and so they show up on the screen for a second by themselves before the image loads.


Well, now you can workaround it....

I will attach you little demo...

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 » 10 Nov 2014 18:08

I've added a TIWCGJQEventBinder to my frame and added my TIWCGJQImage control to it's .ElementList. Then I added the SpecialImageEvents.OnDone and it seems to be displaying the edit controls after the image is loaded. :)

Woohoo!

Thanks so much.

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

Next

Return to JQCarousel

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.