Difference between revisions of "MediaWiki:Gofundme.js"

From QWiki
m
m
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<script src='https://funds.gofundme.com/js/5.0/media-widget.js'></script>"
 
 
$(function () {
 
$(function () {
 +
 
   var myElement = document.getElementById('gfm');
 
   var myElement = document.getElementById('gfm');
   myElement.innerHTML = "<iframe class='gfm-media-widget' image='1' coinfo='0' width='100%' height='100%' frameborder='0' id='quakeworld-duel-2018'></iframe>";
+
   myElement.innerHTML = "<iframe class='gfm-media-widget' image='1' coinfo='1' width='100%' height='100%' frameborder='1' id='quakeworld-duel-2018'></iframe><script src='//funds.gofundme.com/js/5.0/media-widget.js'></script>";
 +
 
 
}());
 
}());

Latest revision as of 20:45, 18 September 2018

$(function () {

  var myElement = document.getElementById('gfm');
  myElement.innerHTML = "<iframe class='gfm-media-widget' image='1' coinfo='1' width='100%' height='100%' frameborder='1' id='quakeworld-duel-2018'></iframe><script src='//funds.gofundme.com/js/5.0/media-widget.js'></script>";

}());