funktionen in die haupt-JS-datei verschoben, neue helperfunktion für minuten, rendern IMMER auf #renderarea

This commit is contained in:
Manuel Friedli 2013-11-25 10:57:30 +01:00
parent d9c07aaa2c
commit 6c08386c82
3 changed files with 35 additions and 29 deletions

View file

@ -3,8 +3,8 @@
<head>
<title>Die Zeit als Wort - in HTML, CSS und JS</title>
<script type="text/javascript" src="jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="uhr-de_CH.js"></script>
<script type="text/javascript" src="uhr.js"></script>
<script type="text/javascript" src="uhr-de_CH.js"></script>
<link rel="stylesheet" type="text/css" href="uhr.css" />
<link rel="stylesheet" type="text/css" href="uhr-black.css" id="theme" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
@ -36,7 +36,7 @@
<p id="disclaimer">Created by fritteli, inspired by <a href="http://www.qlocktwo.com/">QLOCKTWO</a>.
<script type="text/javascript">
$(document).ready(function() {
render(layout, '#renderarea');
render(layout);
$('input[name=theme]').on('click', function() {
switchTheme(this);
});