4 Replies Latest reply on Apr 4, 2017 10:21 AM by polinao RSS
    sclifford Explorer

    Is it possible to embed a script widget in a mashup?

    I want to add a <script>....</script> widget to a Mashup.

     

    Is this possible? How can this be achieved?

     

    For example:

     

    <script>window.twttr = (function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0],
      t = window.twttr || {};
      if (d.getElementById(id)) return t;
      js = d.createElement(s);
      js.id = id;
      js.src = "https://platform.twitter.com/widgets.js";
      fjs.parentNode.insertBefore(js, fjs);
    
      t._e = [];
      t.ready = function(f) {
      t._e.push(f);
      };
    
      return t;
    }(document, "script", "twitter-wjs"));</script>
    

     

    I know there is a Twitter extension, but how can this be done without the extension.

     

    Thanks,

    Shane