Page 1 of 5

Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 9:34 am
by themac

Here's my project :

http://project.tiggzi.com/mobile-fram...

Issues (compiled with xcode 4.6, used ios 6.1 simulator AND iphone5 real) :

1) Images are not stretched and centered

2) On splash screen i, sometime, have to tap more than once

3) the carousel flashes in a strange way, while swiping.

What can i do to make it better ?

Thanks !

Victor


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 9:40 am
by Maryna Brodina

Hello! We'll take a look and I'll update.


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 9:42 am
by themac

ok, thanks for the speedy answer :)

Victor


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 10:11 am
by Maryna Brodina

1) This code should work:

code$('div[dsid="mobilecontainer1"]').css('background-image','url("' + Tiggzi.getImagePath('splash_1362755426.jpg') + '")');
$('div[dsid="mobilecontainer1"]').css('background-size','cover');
$('div[dsid="mobilecontainer1"]').css('background-position','center');
$('div[dsid="mobilecontainer1"]').css('position', 'absolute');/code

Put it on Page Load event. Don't forget to delete image component. Here is what I've got:

Image

I'll update about 2nd and 3rd issues later


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 10:35 am
by themac

Uhm thanks, but i still have problems. Image doesn't appear now. I removed image component.

TheMac


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 12:02 pm
by Maryna Brodina

Let's do next:

1) Rename mobilecontainer1 to mobilecontainer10
2) Delete Image component

Image

3) change code on Load screen to:

codeTiggzi("mobilecontainer10").css('background-image','url("' + Tiggzi.getImagePath('splash_1362755426.jpg') + '")');
Tiggzi("mobilecontainer10").css('background-size','cover');
Tiggzi("mobilecontainer10").css('background-position','center');
Tiggzi("mobilecontainer10").css('position', 'absolute');
Tiggzi("mobilecontainer10").css('width', '100%');/code

Image

http://project.tiggzi.com/mobile-fram...


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 12:05 pm
by themac

ok ! splash is now perfect ! :)

Victor


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 12:17 pm
by Maryna Brodina

Great! Working on other issues


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 1:56 pm
by Maryna Brodina

2) On splash screen i, sometime, have to tap more than once I an't see any actions on Click event on splash screen

3) the carousel flashes in a strange way, while swiping - I can see Carousel component on desktop browser

Image

but there is no Carousel on iPhone5 (iOS 6.0.1), the screen is empty. Testing...


Carousel - image gallery sluggish or flashy on actual display

Posted: Mon Mar 11, 2013 2:02 pm
by themac

hehe, that is because i deleted (upon your advice) the image that had a click event on it. Added event on panel :)

i added event on bottom on the page appearing you'll have carousel, i just tested app in web.

link : http://project.tiggzi.com/mobile-fram...

thanks !

Victor