Hide Settings-windows text while page is loading.

modified:   public_html/gmap.html
	modified:   public_html/script.js
This commit is contained in:
terribl 2013-06-02 13:45:53 +03:00
parent 0e3426d46b
commit 92d665e0da
2 changed files with 7 additions and 2 deletions

View file

@ -16,8 +16,8 @@
<script type="text/javascript" src="coolclock/moreskins.js"></script>
</head>
<body onload="initialize()">
<div id="dialog-modal" title="Basic modal dialog">
<p>The settings feature is coming soon. Keep checking github.</p>
<div id="dialog-modal" title="Basic modal dialog" style="display:none;">
<p>The settings feature is coming soon. Keep checking GitHub.</p>
</div>
<div id="map_container">
<div id="map_canvas"></div>

View file

@ -177,6 +177,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
optionsInitalize();