When I run the app that uses the carousel component on my phone, it doesn't respond to swipe. I know it's in beta - I just wanted you guys to know. I can use Javascript to swap images, right?
When I run the app that uses the carousel component on my phone, it doesn't respond to swipe. I know it's in beta - I just wanted you guys to know. I can use Javascript to swap images, right?
Hello! Yes, you can use avascript to swap images. Could you also clarify what is your Android version?
Tested with Samsung Galaxy S (Android 4.0.4) - I was able to swipe images inside the Carousel
Marina my Android Version is 4.1.1. I tried swiping both right to left and left to right and display stayed frozen. I may need some clarification on my Javascript to swap images, also - but I put that in a separate entry. I believe I just need to know where my images are stored in the document tree.
Before we start searching for a solution with JS could you please share your app with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a so I can test your app too.
How do you want me to package it up to send it to support? (What's the best way?)
Done! Max and Marina - the project has been shared to a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a. Please understand, the only working component is the 'Strikes' counter in the Ump Assistant, along with the 'Reset Strikes' button. I do want to know how to swap the Strike images, rather than use the visibility solution because I will use the same concept with my 'Pitch Counter' and that uses 136 images. As you would imagine, swapping the images is much more effective in that situation. I tried a jQuery solution, but I didn't know the 'src' path of my image files and it didn't work. Thanks for your assistance.
Hi Steven,
You can use CSS sprites:
http://www.w3schools.com/css/css_imag...
http://spritegen.website-performance....
The steps are following:
1) Add to page Panel component with type=div
2) Set it's size to an image and set created sprite as a background. For example, add to this Panel class divForOuts and add to CSS this code:code.divForOuts{
width: 113px;
height: 124px;
background: url('../image/spritename.png') no-repeat top left;
}/code
3) On button click change Panel background-position
Katya,
This is probably the most efficient way, but is there also a Javascript way? Just curious. The reason is I am porting code from projects done in other environments to Tiggzi and I would like to be able to keep as much as I can. What intrigued me about Tiggzi was the database connectivity is soooo simple. And I like simple.