First Commit
This commit is contained in:
40
html/sternwarte/wetter/js/wetter.js
Executable file
40
html/sternwarte/wetter/js/wetter.js
Executable file
@@ -0,0 +1,40 @@
|
||||
// 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');
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user