Hello
i have a slider with a button. But when i want to change the collor of the button in the slider for example when a picture is loaded it wont work.
this is my code:
https://zimjs.com/zapp/E_Y7KJ5
(in the example it is with a button)
greatings
aaron
Hi Aaron - I think the button you pass in is being cloned so use the button property of the slider like so:
slider.button.backgroundColor = green;
1 Like
Hey Dr. Abstract,
As expected, you nailed it again. I don’t drop by the forum that much, since AI usually gives quick answers these days. But it’s those simple things—especially with ZIM—that AI often can’t handle.
with many thanks for the beautiful ease that ZIM is to work with
Greatings
Aaron
Hi Aaron - have you tried the ZIM Bot at ZIM - AI Chat Bot - ZIMjs it preloads chatgpt with the best three examples from 500 current ZIM examples. Or at least 017.
Hahaha - just tried it and it said the use the setButtonColor() method - which does not exist.
1 Like
it is my last step before i come to the forum
i always first look in the docs and try to find a solution my self
then i go look for examples
the i try with AI (chatgpt, gemini and claude where claude most of the time give's me the best working answer)
before i come to the forum i check with ZIM Bot
1 Like
hi Aaron try also https://github.com/copilot free ai codegenerator also
1 Like