Hello, I am somewhat new to twine and I am hoping someone could guide me. I’m trying to change the style of a checkbox and make it look like a switch using the style sheet and a hint of java. I know this is a thing but i don’t know how to set it up.
This will set itself to the proper state of the $toggle variable as well. Change the $toggle variable to true at the top and the checkbox will render properly.
The “Check Harlowe TOGGLE Value” link is just for testing to see if Harlowe understands the new value being set.
What I prefer is if I would find a way to style Harlowe’s rendered HTML structure with it’s native (checkbox:) macro, but I’m too tuckered to figure that out right now. Harlowe doesn’t wrap the <label> around the <input> tag so Making it render in a customized way makes it a bit harder to figure out.