• Resolved Martin

    (@vogtm)


    HI there!

    Is it possible to add custom HTML instead of just text? I need to integrate a script within a div. I have the pro license.

    <div id=tag>
    <script src=" https://wqeqcqwcqwc.com/injectors/clock-injector.js"></script>
    <script>
    TAGHeuer.Clock(tag, { stampType: 'carrera', href: 'https://anysite.com', lang: 'de' });
    </script>
    </div>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rpetersen29

    (@rpetersen29)

    Hey @vogtm
    Its not possible to put those scripts in Simple Banner Text and that is for security reasons. For now, you’d have to use another plugin to inject that first script, and then you could use the Website Custom JS field to inject TAGHeuer.Clock("tag", { stampType: 'carrera', href: 'https://anysite.com', lang: 'de' });. I’ll have to look into a way to incorporate this into the plugin. Thanks for bringing this up!

    • This reply was modified 1 year, 4 months ago by rpetersen29. Reason: tagging
    Thread Starter Martin

    (@vogtm)

    Thanks @rpetersen29 for your swift response, much appriciated! I also dont like this kind of injecting content to the site, but it‘s a request from marketing dept ;-). Maybe i better solve this using a widget…

    Plugin Author rpetersen29

    (@rpetersen29)

    No worries, I definitely understand those types of requests. I was thinking about it a bit, and depending on your proficiency with JavaScript, you could also just copy the entire script from that source and paste it into the Website Custom JavaScript field. If you feel comfortable provide the source, I can test it out on my test site and give you a solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom HTML instead of text’ is closed to new replies.