MediaWiki: Common.js: Unterschied zwischen den Versionen
Aus Interlinking_Pictura
(Der Seiteninhalt wurde durch einen anderen Text ersetzt: „→Das folgende JavaScript wird für alle Benutzer geladen.: // <source lang="javascript"> // This JavaScript will be loaded for a…“) |
|||
Zeile 4: | Zeile 4: | ||
// Except for additions at the end, imported from en.wikipedia.org and modified (parts removed). | // Except for additions at the end, imported from en.wikipedia.org and modified (parts removed). | ||
// for authors see http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.js&action=history | // for authors see http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.js&action=history | ||
+ | |||
+ | $(window).load(function() { | ||
+ | // I changed rearranger image(by Adrian) | ||
+ | |||
+ | jQuery('img.rearrangerImage').attr('src','http://interlinking-pictura.semantic-cora.org/upload/rearranger.png'); | ||
+ | |||
+ | |||
+ | // I changed dull-blue-circle.png (from blue to orange) (by Adrian) | ||
+ | |||
+ | jQuery('img.timeline-copyright').attr('src','http://interlinking-pictura.semantic-cora.org/upload/Copyright-vertical.png'); | ||
+ | // jQuery('div.timeline-band-layer-inner > div > img').attr('src','http://interlinking-pictura.semantic-cora.org/upload/Dull-blue-circle.png'); | ||
+ | |||
+ | jQuery('div.timeline-band-layer-inner > div > img').each(function(){jQuery(this).attr('src','http://interlinking-pictura.semantic-cora.org/upload/Dull-blue-circle.png');}); | ||
+ | |||
+ | //I changed the slim bottom lines (in fact it is border color left) from blue to orange (by Adrian) | ||
+ | jQuery('div.timeline-band-layer-inner > div').each(function(){ | ||
+ | if(jQuery(this).css('border-left-color') == 'rgb(88, 160, 220)') { | ||
+ | jQuery(this).css('border-left-color','rgb(247,102,0)'); | ||
+ | } | ||
+ | }); | ||
// </source> | // </source> |
Version vom 16. November 2017, 15:38 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */ // <source lang="javascript"> // This JavaScript will be loaded for all users on every page load. // Except for additions at the end, imported from en.wikipedia.org and modified (parts removed). // for authors see http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.js&action=history $(window).load(function() { // I changed rearranger image(by Adrian) jQuery('img.rearrangerImage').attr('src','http://interlinking-pictura.semantic-cora.org/upload/rearranger.png'); // I changed dull-blue-circle.png (from blue to orange) (by Adrian) jQuery('img.timeline-copyright').attr('src','http://interlinking-pictura.semantic-cora.org/upload/Copyright-vertical.png'); // jQuery('div.timeline-band-layer-inner > div > img').attr('src','http://interlinking-pictura.semantic-cora.org/upload/Dull-blue-circle.png'); jQuery('div.timeline-band-layer-inner > div > img').each(function(){jQuery(this).attr('src','http://interlinking-pictura.semantic-cora.org/upload/Dull-blue-circle.png');}); //I changed the slim bottom lines (in fact it is border color left) from blue to orange (by Adrian) jQuery('div.timeline-band-layer-inner > div').each(function(){ if(jQuery(this).css('border-left-color') == 'rgb(88, 160, 220)') { jQuery(this).css('border-left-color','rgb(247,102,0)'); } }); // </source>