Dynamic Button or Icon URL
Is there a way to add an id to a button or icon of Brizy cloud ?
As I would like to be able to dynamically modify the target link with Javascript afterwards.
I already tried to add the id in the field CSS ID but unfortunately this does not go to the <a> tag but at the level of the <div> tag only.
Ex: I want to generate a code of this style with the id at the level of the <a> tag: <a id="idsocialicon" style="color:cyan" href="https://www.site.com"> </a>
As soon as I have an id set for the <a> tag of the icon or button, I will be able to modify the link as I want in Javascript afterwards (with smthg like this: document.getElementById("idsocialicon").href = "https://www.domain.com" ).
Is that possible ? Else I am open to suggestions as I guess other people may be looking for such solution.
Thanks!
-
Hello,
Thank you for getting in touch with us.
We are investigating this problem and when we will found some results, will inform you here regarding this.
Best regards, Nelea.
0
Please sign in to leave a comment.
Comments
1 comment