Tutorial-Box hinzugefügt |
zu Einführung_Wiki geändert |
||
| Zeile 13: | Zeile 13: | ||
$( document ).on( 'click', '#tutorial-card', function() { | $( document ).on( 'click', '#tutorial-card', function() { | ||
window.location.href="https://klinikumsiegen.bluespice.cloud/wiki/Allgemein: | window.location.href="https://klinikumsiegen.bluespice.cloud/wiki/Allgemein:Einführung_Wiki"; | ||
} ); | } ); | ||
Aktuelle Version vom 10. Juni 2025, 09:34 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */
$( document ).on( 'click', '#hardware-card', function() {
window.location.href="https://klinikumsiegen.bluespice.cloud/wiki/Hardware:Start";
} );
$( document ).on( 'click', '#software-card', function() {
window.location.href="https://klinikumsiegen.bluespice.cloud/wiki/Software:Start";
} );
$( document ).on( 'click', '#kontakte-card', function() {
window.location.href="https://klinikumsiegen.bluespice.cloud/wiki/Kontakte:Start";
} );
$( document ).on( 'click', '#tutorial-card', function() {
window.location.href="https://klinikumsiegen.bluespice.cloud/wiki/Allgemein:Einführung_Wiki";
} );
$(function(){
$('input').blur();
});
/* blinkende Uhr */
var clockEl = document.querySelector('#clock');
function getTime() {
return new Date().toLocaleTimeString('de-DE',
{ hour12: false, hour: 'numeric', minute: 'numeric' }).toString();
}
function setTime() {
var time = getTime();
// check if the colon is there
if (clockEl.innerText.split(':').length === 1) {
// if it's not, set the actual time
clockEl.innerText = time;
} else {
// if it is, remove the colon
clockEl.innerText = time.split(':').join(' ');
}
}
setInterval( setTime , 1000);
setTime();