MediaWiki:Wikia.js: Difference between revisions

No edit summary
Removed SocialButtons (outdated) moving image buttons to Common.js
Line 1: Line 1:
var SocialMediaButtons = {
/* This JavaScript file is meant for the Wikia-skin only. To see the other skin, see MediaWiki:Monobook.js. For use in global use see MediaWiki:Common.js.*/
position: "top",
colorScheme: "dark",
buttonSize: "35px"
};
importScriptPage('SocialIcons/code.js','dev');
 
/* START - switching images for the main page navigation buttons */
 
$("#FAQButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/e/ec/FAQ_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/b/bb/FAQ_Default.png");});
 
$("#PilotsGuideButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/1/1a/PilotsGuide_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/9/91/PilotsGuide_Default.png");});
 
$("#FactionsButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/d/de/Factions_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/b/bc/Factions_Default.png");});
 
$("#ShipsButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/9/9b/Ships_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/1/19/Ships_Default.png");});
 
$("#OutfittingButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/7/76/Outfitting_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/f/fc/Outfitting_Default.png");});
 
$("#WeaponsButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/b/b1/Weapons_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/1/1f/Weapons_Default.png");});
 
$("#EquipmentButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/5/5f/Equipment_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/3/3e/Equipment_Default.png");});
 
$("#RolesButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/0/01/Roles_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/4/4d/Roles_Default.png");});
 
$("#StationsButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/6/61/Stations_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/1/1e/Stations_Default.png");});
 
$("#StarSystemsButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/8/85/StarSystems_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/9/93/StarSystems_Default.png");});
 
$("#SignalSourcesButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/3/3e/SignalSources_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/e/e9/SignalSources_Default.png");});
 
$("#CommoditiesButton img").hover(function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/7/75/Commodities_Selected.png");}, function() {$(this).attr("src", "http://images.wikia.com/elite-dangerous/images/8/83/Commodities_Default.png");});
 
/* END - switching images for the main page navigation buttons */