Skip to content

Commit

Permalink
nothing special, just reindenting
Browse files Browse the repository at this point in the history
  • Loading branch information
toorshia committed Mar 8, 2014
1 parent 429ad9f commit f920197
Showing 1 changed file with 49 additions and 53 deletions.
102 changes: 49 additions & 53 deletions R&D/counter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,64 +2,60 @@
<html>

<head>
<meta charset="utf-8"/>
<title>Counter</title>
<meta name="viewport" content="width=device-width">

<link rel="stylesheet" href="../lib/style.css">

<script src="../lib/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../lib/raphael.2.1.0.min.js"></script>
<script type="text/javascript" src="../../justgage.js"></script>

<style>
.container {
width: 450px;
margin: 0 auto;
text-align: center;
}

.gauge {
width: 450px;
height: 450px;
}

a:link.button,
a:active.button,
a:visited.button,
a:hover.button {
margin: 30px 5px 0 2px;
padding: 7px 13px;
}

</style>
<meta charset="utf-8" />
<title>Counter</title>
<meta name="viewport" content="width=device-width">

<link rel="stylesheet" href="../lib/style.css">

<script src="../lib/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../lib/raphael.2.1.0.min.js"></script>
<script type="text/javascript" src="../../justgage.js"></script>

<style>
.container {
width: 450px;
margin: 0 auto;
text-align: center;
}
.gauge {
width: 450px;
height: 450px;
}

a:link.button, a:active.button, a:visited.button, a:hover.button {
margin: 30px 5px 0 2px;
padding: 7px 13px;
}
</style>

</head>


<body>

<div class="container">
<div id="gg1" class="gauge"></div>
<a href="#" id="gg1_refresh" class="button grey">Random Refresh</a>
</div>

<script>
var gg1 = new JustGage({
id: "gg1",
value : 72,
min: 0,
max: 100,
donut: true,
gaugeWidthScale: 0.6,
counter: true
});
$(document).ready(function(){
$('#gg1_refresh').bind('click', function() {
gg1.refresh(getRandomInt(0, 100));
return false;
<div class="container">
<div id="gg1" class="gauge"></div>
<a href="#" id="gg1_refresh" class="button grey">Random Refresh</a>
</div>

<script>
$(document).ready(function() {
var gg1 = new JustGage({
id: "gg1",
value: 72,
min: 0,
max: 100,
donut: true,
gaugeWidthScale: 0.6,
counter: true
});
$('#gg1_refresh').bind('click', function() {
gg1.refresh(getRandomInt(0, 100));
return false;
});
});
});
</script>
</script>
</body>
</html>

</html>

0 comments on commit f920197

Please sign in to comment.