Hi, I'm trying to configure a jcarousel to use in a navigation menu system.
- The width of the div containing the list is 100% and before the implementation of the carousel, overflow:hidden would nicely hide the li elements that vas overflowing, including the item that was only partially visible. I am trying to use the carousel to be able to set prev/next buttons to show more items if there are overflowing items in the list. The list is generated through a php application depending on user status and position in the application, so there is no way to determine how many items there will be, or how wide these items will be. The list items are used tobuild at tab style menu using a version of the css sliding doors technique. - I have managed to get the carousel to accept variable item width simply by using min-width: in the css instead of width: so, probem number one: Standard css overflow:hidden actually detects if a list item is only partially visible within the parent container, and hides it. But the carousel clip somehow disables this function, and you get items that are shown partially, sticking out from the clip edge. Is there any way to get the carousel to mimig standard overflow behaviour, or disable the clip and actually make use of css overflow:hidden instead? Problem number two: The parent container is part of a css site layout that has a collapsible left column. As of now, when I collapse the left column, the carousel still indicates that there is more items(by active next-button) whan I toggle the left side off and by doing that have all the list items visible. and if I click the next button in that state, it goes disabled. However, if I toggle back the left column, the next button still stays inactive even though soome of the list elements are no longer visible. Is there any good way of making the carousel detect the toggling automatically, or maybe a way to trigger a recalculation of the carousel to include in the toggle function? I'm pretty crappy with javascript, so any help is appreciated. I'm currently working with this project in a restricted environment, but if anyone thinks they can do some good by viewing this live, let me know and I will set up a demo somewhere.