Newbie, page does not open up in floatbox, correct path provided

Page: 1

Author Post
Member
Registered: Jun 2014
Posts: 8
Hi, am a newbie to Floatbox and seems very nice so far from the demos. Iam trying to implement a simple thumbnai popup but it doesn't seem to open up in floatbox window but opens up in the entire page. Floatbox.css and Floatbox.js files are correctly placed at the root. Here's a snippet of my jsp file. At the very end is the image file which Iam trying to open up using Floatbox. This whole jsp content is renderd by Jquery-Ajax. When the page has been rendered and the images are being displayed after that am trying to click on the images to open up in the floatbox. Here's the jsp..Any help greatly appreciated. Thanks.

<admin>
large block of server-side jsp and HTML code removed
</admin>
« Last edit by admin on Sat Jun 07, 2014 5:09 am. »
Administrator
Registered: Aug 2008
Posts: 3382
Folks, please don't quote blocks of server-side or HTML code. It's of no help whatsoever in debugging problems. The way problems are debugged is by using developer tools on the live page.

As for the immediate issue, it sounds like you are dynamically adding the floatboxed links to the page after DOMContentLoaded has fired. If so, you need to manually activate those links by calling fb.activate() as described at http://floatboxjs.com/instructions#dynamic.
Member
Registered: Jun 2014
Posts: 8
Thank you so much for the quick response and the link. That was exactly what I was looking for. It is working now as expected and it looks great. :)

Page: 1