Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Fluidbox v1.4.2

Compare
Choose a tag to compare
@terrymun terrymun released this 19 Nov 03:04
· 115 commits to master since this release

Fluidbox now allows users to trigger manual recomputing of the dimensions of the overlay and that of the active Fluidbox instance. This functionality is extremely useful when you make layout changes that repaints the canvas and alters the dimensions of linked Fluidbox images. In order to do so, you will have to trigger the event manually, after the changes in the DOM, or element dimensions has been applied.

Once this manual trigger is made, it will trigger a custom event called recomputeend. This is distinct from the resizeend event in the sense that it is not triggered by the $(window).resize() event.

Please refer to readme.md for further clarification on usage and instructions, and the updated demo.

On a side note, this version also comes with a crucial fix that causes the closeTrigger settings to propagate to all instances of Fluidboxes on the same page, even though it was only specified for a subset of instances. This bug has been present since the first release and it was only discovered and fixed as of now.