Files
sternwarte_server/html/sternwarte/wetter/js/wetter.js
2025-11-02 22:52:08 +01:00

41 lines
815 B
JavaScript
Executable File

// wetter.js
//
// Version 2.0 2019-04-10 rxf
// Maintenance Meldung als Dialog
// Version 1.0 2016-02-06 rxf
// Anleitung als POPUP
// Script-Aktionen
// Wenn das Dokument geladen wird
$(document).ready(function()
{
var maintenance = false;
// PopUp
$("#erklbutton").popupWindow({
windowURL:"erkl.html",
height: 700,
width: 750,
left: 50,
top: 50
});
var dialogMaint = $('#maint').dialog({
autoOpen:false,
open: function() {
$(this).load('maint.html', function() {
});
},
width:600,
modal: true,
resizable:false,
position: {my:'center top+30%', at: 'center top+30%'},
});
if (maintenance == true) {
dialogMaint.dialog('open');
}
});