MaxButtons can be used to trigger functions in many other types of plugins. When clicking a button some special function can be executed or data can be passed to other components of your website. For example, when clicking a button, a popup screen pops up, or a full-screen image.
On this page we will demonstrate which options are most used to accomplish this interconnectivity.
Refer to your plugin documentation. Most but not all plugins have some way to connect with links on your page when this is logical. When searching for documentation looks for keywords like ‘custom link’, ‘triggers’ and such.
Almost all connector options can be found under the advanced section in the button editor. Which one to use is determined by the target plugin. If the target plugin doesn’t support any of those, ask the author in what way it should be done.
This is the classic way a lot of lightbox plugins connect. When a plugin requests this field, simply fill out the ‘custom rel tag’ field with your desired values.
Plugins often offer the option to trigger certain functions when an element has a special class name. Under the field ‘extra classes’ you can enter the extra class. You can add as many classes as you want, just separate them by a space.
Data attributes came with HTML5 and are a newer way of adding extra data to your buttons. You have to fill out both the name and the value. For instance, filling out ‘name’ as name and ‘test’ as value will output as : data-name=”test” . You can add another data attribute to the button by clicking the + (plus) button.