Control a cookie consent tool

Hello.

I have included an external cookie consent tool that works wonderfully.
The manufacturer provides a way to open the settings window via link at any time.
Embedding the code as an HTML widget does not work because the HTML is embedded as an iFrame and the class cannot be called. So nothing happens when you click on it.

How can I define a text element via Velo (in my case #text304) that opens this widget.

The manufacturer gives two possibilities:

open configuration box.

Alternatively, if you cannot insert Javascript links, you can use the following target in a link:

<a href =“#CCM.openWidget”> Konfigurationsbox öffnen

Is there any way to do this via VELO?

Greetings , Markus

Hello, utilizing the HTML element or custom element is the correct approach but yes, they will be in an iFrame. You do not have DOM access via Velo

Hy. I interpret your answer to mean that it is not possible to execute this script either via the HTML widget or via Velo? Is there a possibility via a code (e.g. a class) via the head?