Benutzer:Joe-le/wikia.js: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
imported>Joe-le
imported>Joe-le
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
$('a[data-id="wikiactivity"]').attr('href','/wiki/Special:RecentChanges').attr('title','Recent Changes').html('<img height="0" width="0" src="http://images1.wikia.nocookie.net/__cb25182/common/skins/common/blank.gif">RC');
+
//removes the Rail completely
 +
$('.WikiaRail').remove();
  
//move potential toc and sidebar to Rail, remove everything else
+
/** hides Rail from view **/
$('#toc').insertAfter('.WikiaPagesOnWikiModule');
+
.WikiaRail {
$('.wiki-sidebar').insertAfter('.WikiaPagesOnWikiModule');
+
  display:none;
$('.WikiaPagesOnWikiModule').remove();
+
}
$('.WikiaActivityModule').remove();
 
$('.LatestPhotosModule').remove();
 
$('#WikiaSpotlightsModule').remove();
 
 
 
//remove all remaining <details>
 
// (the only one still existing should be the bar after the article title)
 
$('details').remove();
 
 
 
//remove Wikia navigation
 
$('#WikiaHeader > nav').remove();
 
$('img.banner-corner-right').remove();
 
$('img.banner-corner-left').remove();
 
 
 
//remove Spotlight footer
 
$('#SPOTLIGHT_FOOTER').remove();
 
$('.WikiaFooter > h1').remove();
 
 
 
//remove image attribution
 
$('.picture-attribution').remove();
 
 
 
//$('li.mytools').insertAfter('ul#AccountNavigation li:first-child');
 

Aktuelle Version vom 17. November 2010, 23:27 Uhr

//removes the Rail completely
$('.WikiaRail').remove();

/** hides Rail from view **/
.WikiaRail {
  display:none;
}