Change URL after floatbox initialization

Page: 1

Author Post
Member
Registered: May 2015
Posts: 7
Hello,

Is there any way to make floatbox update the URLs of the <a>s with "floatbox" class? I tried changing an <a>'s href, but floatbox keeps opening the old href, so I guess it saves all the hrefs internally on initialization.

Thanks,
Bogdan
Administrator
Registered: Aug 2008
Posts: 3382
After dynamically adding or modifying Floatbox markup on a page, run fb.activate() to register those changes in Floatbox's inventory.

More details on using fb.activate can be found in the API Reference and in the "Dynamically loading Floatbox content via AJAX, script or UpdatePanel" section of the Instructions.

Page: 1