Page 1 of 1

Themable button

Posted: Sat Nov 23, 2024 9:44 pm
by windsurfer
I have a themeable button that i call Bedroom, the html properties of the image i have inside the tag class="filter bedroom"
In the html section i have // NOTE: each image in the gallery has a class 'filter' with 'all', 'addition', 'bedroom'
In the html tag resources i have $JQUERY$
Double click the button i have
Type: radio button
Name: filter
Value: Bedroom

I doo have more buttons on the page and they all work well
When i change the name of the button to Bedroom 1 for example it won't work.
Is there a way to change the name of the button without it affecting the filter ?

Re: Themable button

Posted: Sun Nov 24, 2024 8:07 am
by Pablo
You cannot class as custom code , because the button already uses the class attribute itself.
But you can use the 'class' property to use custom class. Note tat this will override the default style!

Also, names should not have spaces as documented here:
viewtopic.php?t=64868