Title: Additional scripting?
Last modified: April 4, 2021

---

# Additional scripting?

 *  Resolved [fran6co](https://wordpress.org/support/users/fran6co/)
 * (@fran6co)
 * [5 years ago](https://wordpress.org/support/topic/additional-scripting/)
 * A bit of a beginner here, so apologies if this question is not super smart. I’m
   trying to add some behaviours to the «Next» and «Prev» buttons once the lightbox
   is open, but I can’t find where to put my script, and how to access the ‘item-
   change’ triggers. I searched everywhere and read all the documentation available,
   but I haven’t been able to find how to do this.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [5 years ago](https://wordpress.org/support/topic/additional-scripting/#post-14279571)
 * Hi, all behavior in the lightbox is customizable via the theme. See [SLB’s Themes documentation](https://github.com/archetyped/simple-lightbox/wiki/Themes)
   for details on creating a custom theme.
 * The finalized theme API is still in development, but you can take a look at SLB’s
   included theme’s (in the plugin’s `themes` directory) for examples of using JavaScript
   to control the lightbox’s behavior based on different actions.

Viewing 1 replies (of 1 total)

The topic ‘Additional scripting?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-lightbox.svg)
 * [Simple Lightbox](https://wordpress.org/plugins/simple-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-lightbox/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Archetyped](https://wordpress.org/support/users/archetyped/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/additional-scripting/#post-14279571)
 * Status: resolved