Hey guys! Great plugin and I’ve been using it for a quite a while but still have lots to learn.
I’m having an issue with using custom classes with some V2 plugins: Buttons and Tabs specifically.
I am trying to make a button “stay” in its interactive state (or add a class when it’s clicked to add a background color). I have been able to accomplish this yet. I’ve tried:
- overriding the
.x-interactiveclass in css - add custom classes in JS: (pertinent snippets of actual code)
CSS:.redback{ background-color: red; }
JS:$('.info-button').toggleClass('redback');
The issue is similar for V2 Tabs. I don’t know know to target individual panels to give them different background instead of assigning one color for all of them.
What is the correct way to add classes to these elements or interact correctly?
I can’t provide server info as the site is located on an intranet that I’m not allowed to access from the outside. Also, this isn’t really specific to this project anyway. I’ve had issues with some of these elements for a while.
Thanks in advance for all of your help!
