User:Flex217/CSS and JS list

CSS /*--HILITED USERNAMES LIST--*/ a[href="/wiki/User:Flex217"], a[href="/wiki/User:1999bug"], a[href="/wiki/User:Makuta_Tarkairadan"] { color: #217470 !important; font-weight:bold;} /* luwikifront class for main page background image */ .luwikifront { background-image: url(http://i25.servimg.com/u/f25/16/05/86/66/poptar10.gif); border: 1px solid 4f4f4e; background-repeat: repeat; background-position: left; } /*--Ajax Auto-refresh--*/ .ajaxLoadProgress img { margin-top:5px; url(http://i25.servimg.com/u/f25/16/05/86/66/poptar10.gif) } /* Apply the background color for the rte. The value was taken from the WikiaPage class */ /*--From CC Wiki--*/ body.cke_show_borders { background: #217470; } /*--NewPages--*/ .not-patrolled { background-color: purple; border: 2px solid red } /*--Title-Page-Divider--*/ .WikiaPageHeader details { display: none; } .WikiaPageHeader { border-bottom: 1px solid #d9d9d9; margin-bottom: 22px; } /*--NewPages--*/ .not-patrolled { background-color: gold; border: 4px solid indigo } /*--Wikia Header/Footer Lines--*/ .WikiaHeader nav {background-image: url(http://i25.servimg.com/u/f25/16/05/86/66/poptar10.gif);} .WikiaFooter .toolbar .tools {background-image: url(http://i25.servimg.com/u/f25/16/05/86/66/poptar10.gif);} /* Other */ .WikiaSearch input[type="text"] { background-image: -ms-linear-gradient(top, black 20%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 20%, darkgreen 100%); background-image: -o-linear-gradient(top, black 20%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.2, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 20%, darkgreen 100%); background-image: linear-gradient(top, v); -moz-border-radius-topleft: 10px; border-top-left-radius:10px; -webkit-border-top-left-radius:10px; -khtml-border-top-left-radius:10px; -moz-border-radius-bottomleft: 10px; border-bottom-left-radius:10px; -webkit-border-bottom-left-radius:10px; -khtml-border-bottom-left-radius:10px; -moz-box-shadow: 5px 5px 5px #217470; -webkit-box-shadow: 5px 5px 5px #217470; box-shadow: 5px 5px 5px #217470; } .WikiaRail .module { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); -moz-border-radius-topleft: 10px; border-top-left-radius:10px; -webkit-border-top-left-radius:10px; -khtml-border-top-left-radius:10px; -moz-border-radius-bottomleft: 10px; border-bottom-left-radius:10px; -webkit-border-bottom-left-radius:10px; -khtml-border-bottom-left-radius:10px; -moz-border-radius-topright: 10px; border-top-right-radius:10px; -webkit-border-top-right-radius:10px; -khtml-border-top-right-radius:10px; -moz-border-radius-bottomright: 10px; border-bottom-right-radius:10px; -webkit-border-bottom-right-radius:10px; -khtml-border-bottom-right-radius:10px; -moz-box-shadow: 5px 5px 5px #217470; -webkit-box-shadow: 5px 5px 5px #217470; box-shadow: 5px 5px 5px #217470; } .WikiHeader .shadow-mask { opacity: 100; filter: alpha(opacity=100); -khtml-opacity: 100; -moz-opacity: 100; } .WikiaRail .module .wikia-button, .WikiaRail #RIGHT_SKYSCRAPER .wikia-button { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); -moz-box-shadow: 5px 5px 5px #217470; -webkit-box-shadow: 5px 5px 5px #217470; box-shadow: 5px 5px 5px #217470; } .wikia-menu-button { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); -moz-box-shadow: 5px 5px 5px #217470; -webkit-box-shadow: 5px 5px 5px #217470; box-shadow: 5px 5px 5px #217470; } .HotSpotsModule li .hot-spot-severity-1 { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); -moz-box-shadow: 11px 11px 11px #217470; -webkit-box-shadow: 11px 11px 11px #217470; box-shadow: 11px 11px 11px #217470; } .HotSpotsModule li .hot-spot-severity-2 { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); -moz-box-shadow: 8px 8px 8px #217470; -webkit-box-shadow: 8px 8px 8px #217470; box-shadow: 8px 8px 8px #217470; } .HotSpotsModule li .hot-spot-severity-3 { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); -moz-box-shadow: 5px 5px 5px #217470; -webkit-box-shadow: 5px 5px 5px #217470; box-shadow: 5px 5px 5px #217470; } .HotSpotsModule li .hot-spot-severity-4 { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); -moz-box-shadow: 3px 3px 3px #217470; -webkit-box-shadow: 3px 3px 3px #217470; box-shadow: 3px 3px 3px #217470; } .HotSpotsModule li .hot-spot-severity-5 { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); -moz-box-shadow: 1px 1px 1px #217470; -webkit-box-shadow: 1px 1px 1px #217470; box-shadow: 1px 1px 1px #217470; } div#toplists-list-body div.ItemContent img { border: 1px solid #217470; border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -moz-border-radius: 10px; padding: 5px; -moz-box-shadow: 5px 5px 5px #217470; -webkit-box-shadow: 5px 5px 5px #217470; box-shadow: 5px 5px 5px #217470; } background-image: -ms-linear-gradient(top, black 20%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 20%, darkgreen 100%); background-image: -o-linear-gradient(top, black 20%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.2, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 20%, darkgreen 100%); background-image: linear-gradient(top, black 20%, darkgreen 100%); box-shadow: 5px 5px 5px #217470; } .WikiaBlogListing details .avatar { background-image: -ms-linear-gradient(top, black 10%, darkgreen 100%); background-image: -moz-linear-gradient(top, black 10%, darkgreen 100%); background-image: -o-linear-gradient(top, black 10%, darkgreen 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(.1, black), color-stop(1, darkgreen)); background-image: -webkit-linear-gradient(top, black 10%, darkgreen 100%); background-image: linear-gradient(top, black 10%, darkgreen 100%); border: 2px solid #217470; -moz-box-shadow: 5px 5px 5px #217470; -webkit-box-shadow: 5px 5px 5px #217470; box-shadow: 5px 5px 5px #217470; margin: 0px 9px 0px 0px; padding-right:0px; } { right:48px; } /*--Mainpage Slider Border Fix By Mythrun--*/ .mainpage-slider .wikiaPhotoGallery-slider-body img { border-radius:23px; -khtml-border-radius:23px; -webkit-border-radius:23px; -moz-border-radius:23px; } .mainpage-slider .wikiaPhotoGallery-slider-body .nav img { border-radius:0px !important; -khtml-border-radius:0px !important; -webkit-border-radius:0px !important; -moz-border-radius:0px !important; } .mainpage-slider .wikiaPhotoGallery-slider-body .nav-selected img { border-radius:0px !important; -khtml-border-radius:0px !important; -webkit-border-radius:0px !important; -moz-border-radius:0px !important; } .mainpage-slider .wikiaPhotoGallery-slider-body .horizontal .description-background { border-bottom-left-radius: 23px !important; border-bottom-right-radius: 44px 90px !important; -khtml-border-bottom-left-radius: 23px !important; -khtml-border-bottom-right-radius: 44px 90px !important; -webkit-border-bottom-left-radius: 23px !important; -webkit-border-bottom-right-radius: 44px 90px !important; -moz-border-radius-bottomleft: 23px !important; -moz-border-radius-bottomright: 44px 90px !important; } /* Icons */ .icons { border-bottom: 1px solid #CCC; margin-bottom: 0px; padding-bottom: 4px; width: 100%; float: right; margin-top: -17px; } /* shrink the side rail - 2/1/11 */ .WikiaSpotlight {width:195px !important;} .WikiaRail .module p {line-height:15px !important;} .WikiaSpotlight {width:195px !important;} section.WikiaPagesOnWikiModule.module {width:200px; padding-top:10px;} .tally em {font-size:20pt;} section.WikiaActivityModule.module {width:200px;} section.LatestPhotosModule.module {width:200px;} section.WikiaBlogListingBox.module {width:200px;} section.LatestPhotosModule .carousel-container {width:171px; height:68px; margin-top:25px;} section.LatestPhotosModule ul li img {width:54px; height:56px;} section.LatestPhotosModule ul li a {width:54px; height:56px;} section.LatestPhotosModule ul .see-all a {padding-top:10px; font-size:11px; width:54px;} section.LatestPhotosModule ul .add-more a {padding-top:10px; font-size:11px; width:54px;} section.LatestPhotosModule ul li {width:53px; height:55px;} .LatestPhotosModule .wikia-button {margin-top:20px;} .tally span.fixedwidth {text-align:center; margin-top:5px; font-size:10px; margin-left:2px; width:62px;} section#WikiaSpotlightsModule.module {width:194px;} div#WikiaRail section a.wikia-button {width:62px; font-size:11px;} .LatestPhotosModule .empty-photos a {margin-top:-30px; margin-left:45px; margin-right:-45px;} /***General look ***/ body { background: #000000 url("http://i25.servimg.com/u/f25/16/05/86/66/poptar10.gif") top center repeat; background-attachment:fixed; } .WikiaPage { background: url("http://images4.wikia.nocookie.net/__cb20110706015254/custombionicle/images/3/30/Mythrans.png") repeat scroll 0 0 transparent; border-color: #217470; -moz-border-radius:5px 5px 5px 5px; -khtml-border-radius:5px 5px 5px 5px; -webkit-border-radius:5px 5px 5px 5px; border-radius:5px 5px 5px 5px; color:#00FF00; } @import "http://custombionicle.wikia.com/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css"; @remove "http://custombionicle.wikia.com/index.php?title=MediaWiki:Wikia.css" /* removing ugly outline of infoboxes */ .WikiaArticle .infobox { border: 0px !important; }
 * 1) toplists-list-body ul li {
 * 1) toplists-list-body ul li .ItemContent .HotItem span
 * 1) WikiaSpotlightsModule ul li .highlight img {width:70px !important;}
 * 2) WikiaSpotlightsModule ul li .highlight img {height:70px !important;}
 * 1) WikiaSpotlightsModule ul li em {font-size:11px !important;}
 * 2) WikiaSpotlightsModule ul li p {font-size:11px !important;}
 * 3) WikiaSpotlightsModule ul li a {font-size:11px !important;}
 * 1) WikiaSpotlightsModule ul li .highlight img {width:70px !important;}
 * 2) WikiaSpotlightsModule ul li .highlight img {height:70px !important;}
 * 1) WikiaSpotlightsModule .WikiaSpotlight {margin-top:10px; margin-bottom:10px;}

JS // ============================================================ // displayTimer - 2/1/11 // ============================================================ //Add a clock to the WikiHeader //Modified from work by Patrick Westerhoff [poke]: //http://bulbapedia.bulbagarden.net/wiki/MediaWiki:Monobook.js hookEvent( 'load', displayTimer ); function displayTimer {   if ( typeof( timerDisplay ) !== 'undefined' && timerDisplay === false ) return; var date; if (skin == 'oasis') {   var timerParent = document.getElementById( 'WikiHeader' ).getElementsByTagName( 'div' )[0]; }   if (skin == 'monobook') {   var timerParent = document.getElementById( 'p-personal' ).getElementsByTagName( 'ul' )[0]; }   var timerLink   = document.createElement( 'a' ); var timerObj   = document.createElement( 'li' ); timerLink.href              = '/wiki/' + wgPageName + '?action=purge'; timerLink.title             = 'Purge the server cache and update the contents of this page.' timerObj.id                 = 'displayTimer'; timerObj.style.textTransform = 'none'; timerObj.style.fontWeight   = 'bold'; timerObj.style.fontSize     = '100%'; timerObj.appendChild( timerLink ); timerParent.insertBefore( timerObj, timerParent.firstChild ); if (skin == 'oasis') {       $('#displayTimer').css({'position': "inherit", 'right': "0px", 'top': "-28px"}); }   var month = new Array(12); month[0] = "Jan"; month[1] = "Feb"; month[2] = "Mar"; month[3] = "Apr"; month[4] = "May"; month[5] = "Jun"; month[6] = "Jul"; month[7] = "Aug"; month[8] = "Sep"; month[9] = "Oct"; month[10] = "Nov"; month[11] = "Dec"; function actualizeUTC {       timerDate           = new Date; timerLink.innerHTML = ( timerDate.getUTCDate    < 10 ? '0' : '' ) + timerDate.getUTCDate     + ' ' + ( timerDate.getUTCMonth   < 10 ?  :   ) + month[timerDate.getUTCMonth] + ' ' + ( timerDate.getUTCFullYear < 10 ? '0' : '' ) + timerDate.getUTCFullYear + ' ' + ( timerDate.getUTCHours   < 10 ? '0' : '' ) + timerDate.getUTCHours    + ':' + ( timerDate.getUTCMinutes < 10 ? '0' : '' ) + timerDate.getUTCMinutes  + ':' + ( timerDate.getUTCSeconds < 10 ? '0' : '' ) + timerDate.getUTCSeconds  + ' (UTC)'; }   function actualizeCustom {       timerDate           = new Date; timerDate.setMinutes ( timerDate.getMinutes + timerDate.getTimezoneOffset + timerTimezone * 60 ); timerLink.innerHTML = ( timerDate.getDate    < 10 ? '0' : '' ) + timerDate.getDate     + ' ' + ( timerDate.getMonth   < 10 ?  :   ) + month[timerDate.getMonth] + ' ' + ( timerDate.getFullYear < 10 ? '0' : '' ) + timerDate.getFullYear + ' ' + ( timerDate.getHours   < 10 ? '0' : '' ) + timerDate.getHours    + ':' + ( timerDate.getMinutes < 10 ? '0' : '' ) + timerDate.getMinutes  + ':' + ( timerDate.getSeconds < 10 ? '0' : '' ) + timerDate.getSeconds + ' (UTC' + ( timerTimezone < 0 ? '' : '+' ) + timerTimezone + ')'; }   // start if ( typeof( timerTimezone ) !== 'number' ) {       actualizeUTC; setInterval( actualizeUTC, 1000 ); }   else {       actualizeCustom; setInterval( actualizeCustom, 1000 ); } } // ============================================================ // wikiSidething // // Function: Adds a counter // ============================================================ $(function {	if(skin == "oasis") {		var $sidebar = $('.WikiaPagesOnWikiModule:first');		var comboString = " ";		$sidebar.html($sidebar.html + comboString);	} else if(skin == "monobook") {		var $sidebar = $('#p-wikicities-nav');		var comboString = "";		$sidebar.html($sidebar.html + comboString);	} }); /* shrink the side rail to add content space when rail is present - 2/1/11 */ /* only works with proper css - see Forum:Why not get rid of the right sidebar altogether? */ function ShrinkRail { if( $('article#WikiaMainContent.WikiaMainContent').width < 1000 ) { $('header#WikiaPageHeader.WikiaPageHeader details').css({"width": '750px'}); $('article#WikiaMainContent.WikiaMainContent').css({"width": '760px'}); $('div#catlinks.catlinks').css({"width": '718px'}); $('div#WikiaRail.WikiaRail').css({"width": '220px'}); $('form#WikiaSearch').css({"width": '218px'}); $('form#WikiaSearch input[type="text"]').css({"width": '210px'}); $('div#WikiaRail a.wikia-button.upphotos').replaceWith('  '); $('div#WikiaRail a.wikia-button.createpage').replaceWith('  '); $('div#WikiaRail a.wikia-button[href="/wiki/Special:CreateBlogPage"]').replaceWith(''); } } addOnloadHook(ShrinkRail); /* add a button that increases the content size and hides the rail - 2/1/11 */ function CreateContentResizeButton { var headerWidth = $('header#WikiaPageHeader.WikiaPageHeader details').width; var contentWidth = $('article#WikiaMainContent.WikiaMainContent').width; var catlinksWidth = $('div#catlinks.catlinks').width; if(contentWidth < 1000) { $('section article header ul.wikia-menu-button').after(' Expand <--> '); $('section article header a.wikia-button').after(' Expand <--> </a></ul>'); $('section article header a.view-source').after('<ul class="wikia-menu-button" id="resizeButton" style="margin-left:10px"> Expand <--> </a></ul>'); if(wgCanonicalNamespace == 'User_blog') { $('section article div#WikiaUserPagesHeader a.wikia-button').after('<ul class="wikia-menu-button" id="resizeButton" style="margin-left:10px"> Expand <--> </a></ul>'); }	} } addOnloadHook(CreateContentResizeButton); function ExpandContent(headerWidth, contentWidth, catlinksWidth) { $('header#WikiaPageHeader.WikiaPageHeader details').css({"width": '980px'}); $('article#WikiaMainContent.WikiaMainContent').css({"width": '1000px'}); $('div#catlinks.catlinks').css({"width": '1000px'}); $('div#WikiaRail.WikiaRail').css({"display": 'none'}); $('ul#resizeButton').replaceWith('<ul class="wikia-menu-button" id="resizeButton" style="margin-left:10px"> Compress >--< </a></ul>'); } function CompressContent(headerWidth, contentWidth, catlinksWidth) { $('header#WikiaPageHeader.WikiaPageHeader details').css({"width": headerWidth}); $('article#WikiaMainContent.WikiaMainContent').css({"width": contentWidth}); $('div#catlinks.catlinks').css({"width": catlinksWidth}); $('div#WikiaRail.WikiaRail').css({"display": 'block'}); $('ul#resizeButton').replaceWith('<ul class="wikia-menu-button" id="resizeButton" style="margin-left:10px"> Expand <--> </a></ul>'); } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Add sig on Wiki", "tagOpen": "", "tagClose": "", "sampleText": ""} } /////////////////////////////////////////////////////////////////////////////////////////////////////////// // ADVANCED AJAX AUTO-REFRESHING ARTICLES // Code courtesy of "pcj" of WoWWiki. // Bug fixes and maintenance by Grunny /////////////////////////////////////////////////////////////////////////////////////////////////////////// var indicator = 'http://i25.servimg.com/u/f25/16/05/86/66/poptar10.gif'; if (!window.ajaxPages) ajaxPages = new Array("Special:WikiActivity"); var ajaxTimer; var ajaxRefresh = 60000; var refreshText = 'Automatically refresh'; if( typeof AjaxRCRefreshText == "string" ) { refreshText = AjaxRCRefreshText; } var refreshHover = 'Enable auto-refreshing page loads'; if( typeof AjaxRCRefreshHoverText == "string" ) { refreshHover = AjaxRCRefreshHoverText; } var doRefresh = true; function setCookie(c_name,value,expiredays) { var exdate=new Date exdate.setDate(exdate.getDate+expiredays) document.cookie=c_name+ "=" +escape(value) + ((expiredays==null) ? "" : ";expires="+exdate.toGMTString) } function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "=") if (c_start!=-1) { c_start=c_start + c_name.length+1 c_end=document.cookie.indexOf(";",c_start) if (c_end==-1) c_end=document.cookie.length return unescape(document.cookie.substring(c_start,c_end)) } } return "" } function preloadAJAXRL { ajaxRLCookie = (getCookie("ajaxload-"+wgPageName)=="on") ? true:false; appTo = ($("#WikiaPageHeader").length)?$("#WikiaPageHeader"):$(".firstHeading"); appTo.append(' <span style="border-bottom: 1px dotted; cursor: help;" id="ajaxToggleText" title="' + refreshHover + '">' + refreshText + ': <input type="checkbox" style="margin-bottom: 0;" id="ajaxToggle"> <img src="' + indicator + '" style="vertical-align: baseline;" border="0" alt="AJAX operation in progress" /> '); $("#ajaxLoadProgress").bind("ajaxSend", function { $(this).show; }).bind("ajaxComplete", function { $(this).hide; }); $("#ajaxToggle").click(toggleAjaxReload); $("#ajaxToggle").attr("checked", ajaxRLCookie); if (getCookie("ajaxload-"+wgPageName)=="on") loadPageData; } function toggleAjaxReload { if ($("#ajaxToggle").attr("checked") == true) { setCookie("ajaxload-"+wgPageName, "on", 30); doRefresh = true; loadPageData; } else { setCookie("ajaxload-"+wgPageName, "off", 30); doRefresh = false; clearTimeout(ajaxTimer); } } function loadPageData { var cC = ($("#WikiaArticle").length)?"#WikiaArticle":"#bodyContent"; $(cC).load(location.href + " " + cC + " > *", function (data) { if (doRefresh) ajaxTimer = setTimeout("loadPageData;", ajaxRefresh); }); } $(function { for (x in ajaxPages) { if (wgPageName == ajaxPages[x] && $("#ajaxToggle").length==0) preloadAJAXRL; } }); /////////////////////////////////////////////////////////////////////////////////////////////////////////// // END OF AJAX AUTO-REFRESH /////////////////////////////////////////////////////////////////////////////////////////////////////////// importScriptURI("http://vda.wikia.com/index.php?action=raw&ctype=text/javascript&title=MediaWiki%3AVDA2.js&cache=" + Math.random); window.addEventListener("load", function {    var eb = document.getElementById("wpTextbox1");    if (eb) {        eb.select;    } }, false); window.addEventListener("load", function {    var me = document.getElementById("wpMinoredit");    if (me) {        me.setAttribute("checked", "checked");    }    var eb = document.getElementById("wpTextbox1");    eb.value = eb.value.replace(/<\/?noinclude>/, ""); }, false);