Floatbox: The premier windowing system for web pages

Forum guidelines:

- Please read the docs first.

- The forum's search function can be very helpful.

- Give an online example of problems if you can.

- Try to behave.

Support & General Discussion » Spry detail

Spry detail

Page: 1

Author Post
Member
Registered: Jul 2010
Posts: 2
I have been unable to make floatbox work in a spry detail region. Anyone have a suggestion?
Administrator
Registered: Aug 2008
Posts: 1530
This sounds like the dynamic content problem. When content gets added to a page by any mechanism after the initial page load, and you have stuff in the content that you want opened in floatbox, you have two choices for how to get that floatbox stuff lit up.

One is to not put a floatbox class on it, but instead open those items through an assigned onclick action - onclick="fb.start(this); return false;"

The other is to run fb.activateElements() after the dynamic content load.

More info on this is in the dynamic content section of the instructions.

Cheers...
Member
Registered: Jul 2010
Posts: 2
That worked. Thanks!

Page: 1

Support & General Discussion » Spry detail

Floatbox Forum is powered by UseBB 1 Forum Software