Welcome to Assassin's Creed Wiki! Log in and join the community.
User:Vatsa1708/wikia.js: Difference between revisions
Jump to navigation
Jump to search
imported>VatsaAWB m Unable to load from my regular account.. |
imported>Vatsa1708 |
||
| Line 1: | Line 1: | ||
/ | //**Auto-refresh**// | ||
/* | importScriptPage('AjaxRC/code.js', 'dev'); | ||
AjaxRCRefreshText = 'Auto-refresh'; | |||
ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:NewFiles"]; | |||
/ | |||
var indicator = 'http://images1.wikia.nocookie.net/assassinscreed/images/d/de/Ajax-loader.gif'; | var indicator = 'http://images1.wikia.nocookie.net/assassinscreed/images/d/de/Ajax-loader.gif'; | ||
AjaxRCRefreshHoverText = 'Automatically refresh the page'; | |||
//**Show/Hide**// | |||
importScriptPage('ShowHide2/code.js', 'dev'); | |||
// ============================================================ | // ============================================================ | ||
Revision as of 16:55, 26 September 2012
//**Auto-refresh**//
importScriptPage('AjaxRC/code.js', 'dev');
AjaxRCRefreshText = 'Auto-refresh';
ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:NewFiles"];
var indicator = 'http://images1.wikia.nocookie.net/assassinscreed/images/d/de/Ajax-loader.gif';
AjaxRCRefreshHoverText = 'Automatically refresh the page';
//**Show/Hide**//
importScriptPage('ShowHide2/code.js', 'dev');
// ============================================================
// BEGIN Template:Games
// ============================================================
// Description: Add icons to article title
// Credit: User:Porter21 (modifications by User:Rappy and User:Gardimuer)
$(function addTitleIcons () {
if (skin == 'monobook' || skin == 'oasis') {
var insertTarget;
switch (skin) {
case 'monobook':
insertTarget = $('#firstHeading');
break;
case 'oasis':
if (wgAction != 'submit' && wgNamespaceNumber != 112 && $('#va-titleicons').length > 0) {
insertTarget = $('#WikiaPageHeader .tally');
$('#WikiaPageHeader .tally').html(' ').css('width', '200px');
}
break;
}
if (insertTarget) {
$('#va-titleicons').css('display', 'block').prependTo(insertTarget);
$('#va-titleicons-more').append('<img width="0" height="0" class="va-titleicons-chevron" src="' + wgBlankImgUrl + '">');
$('#va-titleicons').hover(
function () {
$(this).addClass('va-titleicons-hover');
}, function () {
$(this).removeClass('va-titleicons-hover');
});
}
}
});
// ============================================================
// END Template:Games
// ============================================================