How Can I add +/- symbols or icons on an expanding / collapsing custom module?
lösung
I'd like to add + / - symbols or icons (e.g. triangle/inverted triangle, or chevron/inverted chevron) indicating to a user that a text box can be expanded and collapsed. Any ideas on how I can program that into my custom module in Hubl?
Here's my snippet so far (it works without the function mentioned above).
How Can I add +/- symbols or icons on an expanding / collapsing custom module?
lösung
Hello,
Thank you for this update and it is really helping me out. I have currently used this code to update my email template and use this to expand text. I see that this works on the preview mode of the code but does not work on the template itself. I am not a programmer, I am a marketing coordinator haha so I dont speak any programming language. Please let me know if you could help me with what I can input in this code for it to work in the template as well.
How Can I add +/- symbols or icons on an expanding / collapsing custom module?
lösung
Thank you so much! It works. A couple of follow-up questions:
1. However, how can I revert back to a "+" after the accordion has been expanded and then re-collapsed? Currently, once it's closed, it still shows the "-". See image below.
2. How can I format the +/- to be a different color than the title (e.g. bolded, larger font size).
How Can I add +/- symbols or icons on an expanding / collapsing custom module?
lösung
Hello again,
Hope you're well. Sorry for being able to reply just now. My schedule's been all over the floor these past few days. Anyhow, have you got the chance to work the issue out yourself?
Also, if it isn't too much, can we have a peak at the test page you're currently working on for this?