Difference between revisions of "MediaWiki:Liquiflow.js"
From QWiki
m |
m |
||
Line 6: | Line 6: | ||
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>"; | ||
$( document ).ready(function() { | $( document ).ready(function() { | ||
− | mw.loader.load( 'http://funds.gofundme.com/js/5.0/media-widget.js | + | mw.loader.load( 'http://funds.gofundme.com/js/5.0/media-widget.js' ); |
}); | }); | ||
}()); | }()); |
Revision as of 21:44, 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'></iframe><script src='http://funds.gofundme.com/js/5.0/media-widget.js'></script>"; $( document ).ready(function() { mw.loader.load( 'http://funds.gofundme.com/js/5.0/media-widget.js' ); }); }());