2 Replies Latest reply on Jul 3, 2017 8:57 AM by Ellina Ly

    Help with share code embedding

    Ellina Ly

      Hi

       

      I am having trouble incorporating an interactive tableau graph. I am using a custom website building Mezzanine. I have no ability to install or add new applications to the website as I have no admin rights and I am not that proficient with coding.

       

      I have the black source HTML code window available and after I put the code inside the HTML window and save it, I first get an empty window and after reload I get this response:

       

      <a href='#'><img alt='Sheet 2 ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;IR&#47;IR_8&#47;Sheet2&#47;1_rss.png' style='border: none' /></a>

       

      //

      Can you please provide guidance on how to solve this issue.

      Here is the code I am trying to embed:

      <div class='tableauPlaceholder' id='viz1498790066680' style='position: relative'><noscript><a href='#'><img alt='Sheet 2 ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;IR&#47;IR_8&#47;Sheet2&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='IR_8&#47;Sheet2' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;IR&#47;IR_8&#47;Sheet2&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object></div>                <script type='text/javascript'>                    var divElement = document.getElementById('viz1498790066680');                    var vizElement = divElement.getElementsByTagName('object')[0];                    vizElement.style.width='100%';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';                    var scriptElement = document.createElement('script');                    scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                </script>

       

       

      Thank you