41 lines
815 B
JavaScript
Executable File
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');
|
|
}
|
|
});
|