Hi Staff, so glad that ios tester is back to work. I just tested my app and I got a problem there. I want to get some suggestions on the solution.
I created a 2Cols grid and put one cell to a image object. I successfully retrieved photos from database and they are listed in the grid. I want to click the image to enlarge it to full screen but not worked out.
Is there any way to temporary set a grid cell to full size so the photo can fit to the full screen?
The code I used to the image object is:
Code: Select all
$(this).css('width', function(_ , cur){
return cur === '279px' ? '100%' : '279px';
}); // original width is 500px
$(this).css('height', function(_ , cur){
return cur === '263px' ? '100%' : '263px';
}); // original width is 500px