Closed (fixed)
Project:
jCarousel
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2010 at 16:49 UTC
Updated:
31 Dec 2010 at 09:50 UTC
Hi,
jcarousel works fine on the Iphone, but when I turn the IPhone from vertical to horizontal and vica versa, no prev and next images are displayed anymore. The IPhone resizes the website and I think jcarousel looses the width or something.
Is there a way, to restart jcarousel?
Do you have an idea?
Joerg
Comments
Comment #1
quicksketchI couldn't confirm this problem on the jCarousel demos on an iPhone: http://sorgalla.com/jcarousel/ so I'm not sure if this is a problem with the jCarousel module or the jCarousel library.
When it comes to use of the jCarousel library, I refer users to the documenation (same link as above). I don't provide help on using the jCarousel library in the jCarousel module queue. The queue is for questions about jCarousel module and its interactions with Drupal, not general questions about the library.
Comment #2
jospBln commentedOk, I'll check it out - the problem only appears, if you change the width to 100%, e.g. if you want to build a special IPhone site.
Comment #3
quicksketchSo this does sound more like a library-issue than something that is specific to the module. Rather than using 100%, perhaps you can detect when the page is rotated and manually specify height and width for the carousel? You'd almost certainly need to refresh certain behaviors. See http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-w...
Comment #4
jospBln commentedI figured it out:
You have to check, that the height is fixed, it has to be the height of the image + title. And its important to set the 'Number of visible items' to auto. So you have to set the carousel item width to the width of the image.
Also it's best NOT to limit the max-width for img to 100%.