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)
You can fix this in the source code of contentflow directly. I just ran into the same problem and tracked it down.
So just open the contentflow_src.js and look for the "_positionItems"-function. You'll find the following line of code:
Just replace it with:
For me this is working just fine, but I have not tested this any further, and so this "dirty" fix might cause bugs in other cases. Use at your own risk :p