Need help? Check out our Support site, then


Problem embedding html code

  1. Hi, I would like to embed an interactive widget (created with the data visualization software Tableau) in my WordPress website, but it seems that when I paste the html code in the Text editor, WordPress cuts some parts of the code.

    Here is the code I want to embed:
    <script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script><div class="tableauPlaceholder" style="width:1370px; height:622px;"><noscript><img alt="Rapporto Debito / PIL " src="http://public.tableausoftware.com/static/images/GA/GAC-GNPProject/Dashboard2/1_rss.png" style="border: none" /></noscript><object class="tableauViz" width="1370" height="622" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="site_root" value="" /><param name="name" value="GAC-GNPProject/Dashboard2" /><param name="tabs" value="no" /><param name="toolbar" value="yes" /><param name="static_image" value="http://public.tableausoftware.com/static/images/GA/GAC-GNPProject/Dashboard2/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><div style="width:1370px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;"><div style="float:right; padding-right:8px;">Learn About Tableau</div></div>

    And these are the "cuts" made by WordPress when I publish it:
    <div class="tableauPlaceholder" style="width:1370px;height:622px;"><img alt="Rapporto Debito / PIL " src="http://public.tableausoftware.com/static/images/GA/GAC-GNPProject/Dashboard2/1_rss.png" style="border:none;" /> 
    </div>
    <div style="width:1370px;height:22px;padding:0 10px 0 0;color:black;font:normal 8pt verdana, helvetica, arial, sans-serif;">
    <div style="float:right;padding-right:8px;">Learn About Tableau</div>
    </div>

    I believe that there are some restrictions to the free version of WordPress. My question is: there is a get around to this?! And if not, what do I need to do (or buy) in order to get it to work correctly?

    Thanks
    Francesco

    The blog I need help with is rinaldifrancesco.wordpress.com.

  2. WordPress.com blogs are unable to use any Javascript, as this is a security issue. The only way around this, is to use WordPress.org and self host you're blog.

  3. Thanks for the rapid response!
    So, if I got it right, I wouldn't be able to use JavaScript even if I'd upgrade and buy the "pro" version of WordPress right?

  4. I wouldn't be able to use JavaScript even if I'd upgrade and buy the "pro" version of WordPress right?

    Correct

    All upgrades here are EXACTLY what they are spelled out as - no more no less

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.