User:FokkerTISM/common.js

From Festipedia, hosted by the FR Heritage Group
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Wikipedia:Bypass your cache.
if(skin == 'none') addOnloadHook((function (){
    var contentSub = document.getElementById("contentSub");

    if (contentSub) {
        contentSub.innerHTML +='<div style="position:absolute; z-index:100; right:100px; top:0px;" class="metadata" id="anontip"><div style="text-align:right; font-size:87%">•&nbsp;<i>Visit&nbsp;the&nbsp;<a href="http://www.festrail.co.uk">Festiniog&nbsp;and&nbsp;Welsh&nbsp;Highland&nbsp;(Caernarfon)&nbsp;Railways</a>&nbsp;and&nbsp;the&nbsp;<a href="http://www.whr.co.uk">Welsh&nbsp;Highland&nbsp;Railway&nbsp;(Porthmadog)</a></i>&nbsp;•</div></div>';
    }
}));


/** Table sorting fixes ************************************************
  *
  *  Description: Disables code in table sorting routine to set classes on even/odd rows
  *  Maintainers: [[User:Random832]]
  */

ts_alternate_row_colors = false;

//</source>