Okay
  Public Ticket #1037765
Insert Iframe
Closed

Comments

  •  2
    Mireia started the conversation

    Hello, I need to insert a link from an external platform on my page.

    The code is: 

    <div id="ts-shop"></div>
                                 <script type="text/javascript">
                                     var Ticketscript={};
                                     Ticketscript.Application={
                                         containerId:"ts-shop",
                                         channel:"ZENKFLPB",
                                         eventId:"",
                                         type:"iframe",
                                         language:"es",
                                         width:"500",
                                         height:"650"
                                     };
                                 </script>
                                 <script type="text/javascript" src="https://shop.ticketscript.com/assets/js/ga-embed.js"></script>


    I am inserting this code in the section of the page where put html, but nothing appears on the page.

    What could be happening?Where should I insert this code?


  •  895
    TheFox replied

    Hello Mireia,

    Try to use the "raw html" module to put the <div id="ts-shop"></div> part

    and use the "raw javascript" module to put the      <script type="text/javascript">
                                     var Ticketscript={};
                                     Ticketscript.Application={
                                         containerId:"ts-shop",
                                         channel:"ZENKFLPB",
                                         eventId:"",
                                         type:"iframe",
                                         language:"es",
                                         width:"500",
                                         height:"650"
                                     };
                                 </script>
                                 <script type="text/javascript" src="https://shop.ticketscript.com/assets/js/ga-embed.js"></script>

    part.

    I think that should do the trick.

    Do not hesitate to contact us if you have more questions.

    Regards.


  •  2
    Mireia replied

    Thanks! This method worked perfectly.

    But modifying the values of width and height, only change height.
    I have tried in row settings / type / full width content and I also do not get this to fill the entire width of the page.

    This is the link of how the content on the page looks like http://thehonorrace.com/inscripciones/

    Is it possible that the content is filled in the page?


    Thanks again



  •  895
    TheFox replied

    Hello Mireia,

    The problem is the css from the additional script you are using.

    Try to add this custom css :

    .container { max-width:2000px!important; }

    Do not hesitate to contact us if you have more questions.

    Have a nice day!

    Regards.