go back to standard behavior for index.html: one simple Bärneruhr
This commit is contained in:
parent
831f1facd7
commit
d51b00fece
1 changed files with 9 additions and 18 deletions
21
index.html
21
index.html
|
@ -30,29 +30,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||||
</head>
|
</head>
|
||||||
<body style="padding:0;margin:0;">
|
<body style="padding:0;margin:0;">
|
||||||
<div style="display:inline-block;">
|
|
||||||
<h3>Uhr mit der aktuellen Zeit</h3>
|
|
||||||
<div id="uhr"></div>
|
<div id="uhr"></div>
|
||||||
</div>
|
|
||||||
<div style="display:inline-block;">
|
|
||||||
<h3>Uhr mit statischer Zeit</h3>
|
|
||||||
<div id="uhr-statictime"></div>
|
|
||||||
</div>
|
|
||||||
<p id="disclaimer">Created by fritteli, inspired by <a href="http://www.qlocktwo.com/">QLOCKTWO</a>.
|
<p id="disclaimer">Created by fritteli, inspired by <a href="http://www.qlocktwo.com/">QLOCKTWO</a>.
|
||||||
<script type="text/javascript" src="uhr-de_CH.js"></script>
|
<script type="text/javascript" src="uhr-de_CH.js"></script>
|
||||||
<script type="text/javascript" src="uhr-de.js"></script>
|
<script type="text/javascript" src="uhr-de.js"></script>
|
||||||
<script type="text/javascript" src="uhr-en.js"></script>
|
<script type="text/javascript" src="uhr-en.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var size = 300;
|
(function($) {
|
||||||
|
var width = $(window).width();
|
||||||
|
var height = $(window).height();
|
||||||
|
var size = (width < height ? width : height) + 'px';
|
||||||
$('#uhr').uhr({
|
$('#uhr').uhr({
|
||||||
width: size + 'px'
|
width: size
|
||||||
});
|
});
|
||||||
$('#uhr-statictime').uhr({
|
})(jQuery);
|
||||||
width: size + 'px',
|
|
||||||
time: new Date(1982, 2, 22, 0, 12, 0)
|
|
||||||
});
|
|
||||||
// Auch möglich:
|
|
||||||
//$('#uhr-statictime').uhr("time", new Date(1982, 2, 22, 0, 10, 0));
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue