MediaWiki:Wikia.js: diferència entre les revisions
Aparença
	
	
 Afegir conyingut  | 
				m Correcció de codis  | 
				||
| Línia 7: | Línia 7: | ||
// **************************************************  | // **************************************************  | ||
/* Afegeix en les notícies un header especial - prova */  | /* Afegeix en les notícies un header especial - prova */  | ||
$('body.ns-116 .WikiHeader .wordmark.graphic ').bind('click.capçalera', function(){ window.location.href = 'http://ca.detectiuconan.wikia.com/wiki/  | $('body.ns-116 .WikiHeader .wordmark.graphic ').bind('click.capçalera', function(){ window.location.href = 'http://ca.detectiuconan.wikia.com/wiki/Notícia:Índex'; return false; });  | ||
$(function(){  | $(function(){  | ||
Revisió del 10:48, 15 juny 2013
/* Etiqueta per inactius */
InactiveUsers = { text: 'Inactiu' };
importScriptPage('InactiveUsers/code.js', 'dev');
// **************************************************
// Notícies
// **************************************************
/* Afegeix en les notícies un header especial - prova */
$('body.ns-116 .WikiHeader .wordmark.graphic ').bind('click.capçalera', function(){ window.location.href = 'http://ca.detectiuconan.wikia.com/wiki/Notícia:Índex'; return false; });
 
$(function(){
  if ( window.wgAction == 'edit' ) {
    $(".WikiaMainContent").css("width", "1030px").css("padding", "0px");
  }
});