After upgrading from v5.2 to v6.0.3 we are suddenly experiencing "extra" duplicate images in our image gallery (no issue in v5.2). Our image galleries are typically 3 images each, however, in v6.0.3 every time we click the icon to open the floatbox gallery the pop window adds another duplicate of one of the original 3 images (goes from "1 of 4" to "1 of 5" to "1 of 6" and etc). Additionally, on the first click to open a gallery their is already 4 images in it instead of 3 (1 extra duplicate to start with). This seems to only be happening where we are forced to use fb.activate(). Was there an underlying change with the new version that would be causing this? Here is how we are calling the functions...
We pull a record set from our DB with a SQL select query that creates a column of the fly the following in it:
'<img src="images/camera_icon.png" style="cursor: pointer;" onclick="popWin('''+tablename.entryNumber+''');"/>
<a href=''/images/'+tablename.Image1+''' id='''+tablename.entryNumber+''' class="floatbox" data-fb-options="group:'+tablename.entryNumber+' afterBoxEnd:`parent.ColdFusion.Grid.refresh(''entries'',true);` caption2:`'+ImageTitle+'` caption:`'+ImageDescript+'` enableDragResize:true"></a><a href=''/images/'+tablename.Image2+''' class="floatbox" data-fb-options="group:'+tablename.entryNumber+' caption2:`'+ImageTitle+'` caption:`'+artImageDescript+'` enableDragResize:true"></a><a href=''/images/'+tablename.Image3+''' class="floatbox" data-fb-options="group:'+tablename.entryNumber+' caption2:`'+artImageTitle+'` caption:`'+artImageDescript+'` enableDragResize:true"></a>' AS PictureColumn
We then load/output this query record set into a CFgrid (ajax & javascript). The grid has 20 rows, each with a camera icon that when clicked, loads the floatbox gallery for the individual row. The function that actually calls the floatbox is as follows:
<script type="text/javascript">
function popWin(entryNumber) {
fb.activate();
fb.start(entryNumber);
}
</script>
We use the "close" link in the lower right corner or clicking outside the floatbox to close the pop window. As I said earlier, it was working great in v5.2. Is there anything off the top of your head that would cause the change?
P.S. We absolutely love floatbox and utilize it for alerts, confirms, video I-frames, ajax content, and everything! Excellent product and excellent support!