Hello everyone who reads this..
i'm experimenting with ContentFlow.js
i have 5 image items in the flow. Content flow is configured to show 7 on both sides. Instead of showing at least all 5 items it shows only 3 of them. Functionality is okay but i want ALL items to be showed:
<link rel="stylesheet" type="text/css" href="/js/ContentFlow/contentflow.css" media="screen" />
<script type="text/javascript" src="/js/ContentFlow/contentflow.js"></script>
<script tyle="text/javascript">
var cf = new ContentFlow('contentFlow', {reflectionColor: "#ffffff",visibleItems:7,scaleFactor:1.3,circularFlow: false});
</script>
...
<div class="item">
<img class="content" src="image.png" />
</div>
(this code is simplified as a showing example)
If the number of images you're going to show is dynamic, can you check to see the count before you load the ContentFlow? If it's below 7, then set visibleItems to that value...otherwise use 7.