MediaWiki:Common.js: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Bez shrnutí editace |
Bez shrnutí editace |
||
Řádek 9: | Řádek 9: | ||
importScriptURI( "http://wiki.sps-pi.com/images/0/00/externaljs/Hotcat.js" ); | importScriptURI( "http://wiki.sps-pi.com/images/0/00/externaljs/Hotcat.js" ); | ||
// **********************************************************************// ** ***WARNING GLOBAL GADGET FILE*** **// ** changes to this file affect many users. **// ** please discuss on the talk page before editing **// ** **// **********************************************************************$(document).ready( function () { var tab, tablink; tab = document.getElementById('ca-addsection'); if ( !tab ) { return; } tablink = tab.getElementsByTagName('a')[0]; if ( !tablink ) { return; } tablink.firstChild.nodeValue = '+'; if ( mw.config.get( 'skin' ) === 'monobook' ) { tablink.style.paddingLeft = ".4em"; tablink.style.paddingRight = ".4em"; }}); |
Verze z 1. 3. 2012, 20:28
/* Zde uvedený JavaScript bude použit pro všechny uživatele při načtení každé stránky. */
importScriptURI('http://wiki.sps-pi.com/images/0/00/externaljs/Cites.js');
importScriptURI( "http://wiki.sps-pi.com/images/0/00/externaljs/SlideShow.js" );
importScriptURI( "http://wiki.sps-pi.com/images/0/00/externaljs/Uploads.js" );
importScriptURI( "http://wiki.sps-pi.com/images/0/00/externaljs/Hotcat.js" );
// **********************************************************************// ** ***WARNING GLOBAL GADGET FILE*** **// ** changes to this file affect many users. **// ** please discuss on the talk page before editing **// ** **// **********************************************************************$(document).ready( function () { var tab, tablink; tab = document.getElementById('ca-addsection'); if ( !tab ) { return; } tablink = tab.getElementsByTagName('a')[0]; if ( !tablink ) { return; } tablink.firstChild.nodeValue = '+'; if ( mw.config.get( 'skin' ) === 'monobook' ) { tablink.style.paddingLeft = ".4em"; tablink.style.paddingRight = ".4em"; }});