Viewing 1 replies (of 1 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, SLB’s theme engine allows you to fully customize the lightbox’s animations for several events (e.g. Open, Loading, Close, etc.) by using custom JavaScript for an event.

    Here are instructions on creating a custom lightbox theme.

    Tip: You can set your custom theme as a child of the default theme (ID: slb_default) so that you only have to customize the specific animation events that you want to (rather than all of them).

    You can then use any JS, CSS, etc. that you want to add the desired animations to your custom lightbox theme. Have a look at the JavaScript for the default theme (located in /themes/default/js/dev in SLB’s plugin directory) for an example on how animations are added for each event.

Viewing 1 replies (of 1 total)

The topic ‘Custom animation’ is closed to new replies.