Next and Previous buttons set to off state when using Inline divs

Page: 1

Author Post
Member
Registered: May 2012
Posts: 3
Hi There
I am using floatbox to show the content of multiple inline divs.
I have hrefs pointing to the inline divs and I have set the group option to be the same for all the inline divs. It is showing the inline divs correctly and the number of items in the group is correct but the next and previous buttons are in the off state.

They still scroll and page correctly. but are not hyperlinked with a cursor and underlines. The inline style for the button's background is set to next_black_off.gif.

Where does this get set can I edit it so if the next buttons appear they are always set to on.



<figure class="left marg_right1"><a href="#inline" class="floatbox" data-fb-options="width:897 height:620 innerBorder:0 outerBorder:0 colorTheme:black" rev="group:main1" title="Nkwenkwe Nkomo"><img src="images/page2_img2.jpg" alt=""></a></figure>
<figure class="left marg_right1"><a href="#inline1" class="floatbox" data-fb-options="width:897 height:620 innerBorder:0 outerBorder:0 colorTheme:black" rev="group:main1" title="John Dixon"><img src="images/page2_img3.jpg" alt=""></a></figure>




<div id="inline" class="floatbox" data-fb-options="group:main1" style="display:none; color:#808080;background-color:#000000;">
html code goes here
</div>

<div id="inline1" class="floatbox" data-fb-options="group:main1" style="display:none; color:#808080;background-color:#000000;">
html code goes here
</div>


Administrator
Registered: Aug 2008
Posts: 3382
That's a genuine bug you've found, and I've reproduced it. This bug would go back many versions which leads me to think you must be the only person ever to show multiple inline divs in a gallery set.

I'll have it fixed in the next release. Here's a simple work-around you can do with your current version.

In the floatbox/graphics folder copy prev_black.gif to prev_black_off.gif and next_black.gif to next_black_off.gif, over-writing and replacing the 'off' graphics. Do this for other color themes as well if necessary. The downside is that if you set enableWrap to false, those prev and next controls won't grey out at the beginning and end of a set. For this reason, it's probably best to leave enableWrap at its default of true if doing this graphics hack.
Member
Registered: May 2012
Posts: 3
Cool thanks for that , as I was going crazy trying to get it working trying every option there was. I will do the hack for now and wait for the next release.

Thanks very much for your help.

Page: 1