tried to convert it, now it's a mess

This commit is contained in:
Manuel Friedli 2014-01-11 03:26:53 +01:00
parent 34369f3f89
commit 9db6473085
5 changed files with 222 additions and 4 deletions

View file

@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</head>
<body style="padding:0;margin:0;">
<div id="uhr"></div>
<div id="test"></div>
<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.js"></script>
@ -37,12 +38,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
var height = jQuery(window).height();
var width = jQuery(window).width();
var size = height < width ? height : width;
/*
new Uhr(jQuery('#uhr'), {
layout: 'de_CH',
theme: 'black',
status: 'on',
width: size + 'px'
});
*/
$('#test').uhr({width:'10em'});
</script>
</body>
</html>