MediaWiki:Common.js: Unterschied zwischen den Versionen
Alarya (Diskussion | Beiträge) Javascript-Ausführung probeweise deaktiviert wegen unzugänglicher Monobook-Menüs Markierung: Zurückgesetzt |
Alarya (Diskussion | Beiträge) alles probeweise deaktiviert Markierung: Zurückgesetzt |
||
| Zeile 28: | Zeile 28: | ||
// set up the words in your language | // set up the words in your language | ||
/* var NavigationBarHide = 'Einklappen'; | |||
var NavigationBarShow = 'Ausklappen'; | var NavigationBarShow = 'Ausklappen';*/ | ||
// set up max count of Navigation Bars on page, | // set up max count of Navigation Bars on page, | ||
| Zeile 35: | Zeile 35: | ||
// NavigationBarShowDefault = 0; // all bars will be hidden | // NavigationBarShowDefault = 0; // all bars will be hidden | ||
// NavigationBarShowDefault = 1; // on pages with more than 1 bar all bars will be hidden | // NavigationBarShowDefault = 1; // on pages with more than 1 bar all bars will be hidden | ||
if (typeof NavigationBarShowDefault == 'undefined' ) { | /*if (typeof NavigationBarShowDefault == 'undefined' ) { | ||
var NavigationBarShowDefault = 1; | var NavigationBarShowDefault = 1; | ||
} | }*/ | ||
// shows and hides content and picture (if available) of navigation bars | // shows and hides content and picture (if available) of navigation bars | ||
// Parameters: | // Parameters: | ||
// indexNavigationBar: the index of navigation bar to be toggled | // indexNavigationBar: the index of navigation bar to be toggled | ||
function toggleNavigationBar(indexNavigationBar) | /*function toggleNavigationBar(indexNavigationBar) | ||
{ | { | ||
var NavToggle = document.getElementById("NavToggle" + indexNavigationBar); | var NavToggle = document.getElementById("NavToggle" + indexNavigationBar); | ||
| Zeile 132: | Zeile 132: | ||
} | } | ||
*/ | |||
/* | /* | ||
aOnloadFunctions[aOnloadFunctions.length] = createNavigationBarToggleButton; | aOnloadFunctions[aOnloadFunctions.length] = createNavigationBarToggleButton; | ||