Hide Settings-windows text while page is loading.
modified: public_html/gmap.html modified: public_html/script.js
This commit is contained in:
parent
0e3426d46b
commit
92d665e0da
|
@ -16,8 +16,8 @@
|
||||||
<script type="text/javascript" src="coolclock/moreskins.js"></script>
|
<script type="text/javascript" src="coolclock/moreskins.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body onload="initialize()">
|
<body onload="initialize()">
|
||||||
<div id="dialog-modal" title="Basic modal dialog">
|
<div id="dialog-modal" title="Basic modal dialog" style="display:none;">
|
||||||
<p>The settings feature is coming soon. Keep checking github.</p>
|
<p>The settings feature is coming soon. Keep checking GitHub.</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="map_container">
|
<div id="map_container">
|
||||||
<div id="map_canvas"></div>
|
<div id="map_canvas"></div>
|
||||||
|
|
|
@ -176,6 +176,11 @@ function initialize() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// These will run after page is complitely loaded
|
||||||
|
$(window).load(function() {
|
||||||
|
$('#dialog-modal').css('display', 'inline'); // Show hidden settings-windows content
|
||||||
|
});
|
||||||
|
|
||||||
// Load up our options page
|
// Load up our options page
|
||||||
optionsInitalize();
|
optionsInitalize();
|
||||||
|
|
Loading…
Reference in a new issue