Difference between revisions of "MediaWiki:Liquiflow.js"
From QWiki
m |
m |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for users using the LiquiFlow skin */ | /* Any JavaScript here will be loaded for users using the LiquiFlow skin */ | ||
| + | $( document ).ready(function() { | ||
| + | mw.loader.load( 'http://funds.gofundme.com/js/5.0/media-widget.js' ); | ||
| + | }); | ||
$(function () { | $(function () { | ||
| Line 5: | Line 8: | ||
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='http://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'></iframe><script src='http://funds.gofundme.com/js/5.0/media-widget.js'></script>"; | ||
| − | + | ||
| − | |||
| − | |||
}()); | }()); | ||
Revision as of 21:45, 18 September 2018
/* Any JavaScript here will be loaded for users using the LiquiFlow skin */
$( document ).ready(function() {
mw.loader.load( 'http://funds.gofundme.com/js/5.0/media-widget.js' );
});
$(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='http://funds.gofundme.com/js/5.0/media-widget.js'></script>";
}());