Difference between revisions of "MediaWiki:Liquiflow.js"

From QWiki
m
m
Line 4: Line 4:
  
 
   var myElement = document.getElementById('gfm');
 
   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>";
+
   myElement.innerHTML = "<iframe class='gfm-media-widget' image='1' coinfo='1' width='100%' height='100%' frameborder='1' id='quakeworld-duel-2018'><script src='//funds.gofundme.com/js/5.0/media-widget.js'></script></iframe>";
  
 
}());
 
}());

Revision as of 21:23, 18 September 2018

/* Any JavaScript here will be loaded for users using the LiquiFlow skin */

$(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'><script src='//funds.gofundme.com/js/5.0/media-widget.js'></script></iframe>";

}());