MediaWiki:Common.js

From ConStellation
Revision as of 21:03, 25 June 2017 by ConstellWiki (Talk | contribs)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* Any JavaScript here will be loaded for all users on every page load. */

$(function () {
  var myElement = document.getElementById('mw-constellwiki-countdown');
  myElement.innerHTML = '<iframe src="http://free.timeanddate.com/countdown/i5lokj4s/n837/cf12/cm0/cu4/ct4/cs1/ca0/cr0/ss0/cacfff/cpcfff/pc099/tcfff/fn2/fs200/szw256/szh108/tatThe%20Final%20Con%E2%80%A0Stellation/tacfff/tptThe%20Final%20Con%E2%80%A0Stellation/tpcfff/matBegins%20In/macfff/mptHas%20Begun!/mpcfff/iso2017-10-13T12:00:00/bas4/pa2" allowTransparency="true" frameborder="0" width="281" height="112"></iframe>';
}());

$(function () {
  var myElement = document.getElementById('mw-constellwiki-teleios-trailer');
  myElement.innerHTML = '<iframe src="https://player.vimeo.com/video/162195948" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
}());
<!--
<p><a href="https://vimeo.com/162195948">TELEIOS Trailer</a> from <a href="https://vimeo.com/user18972971">Weetus Cren</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
-->
Personal tools