toggler erzeugen statt hardcoded

This commit is contained in:
Manuel Friedli 2013-11-27 18:13:37 +01:00
parent 562855e8f1
commit a28dcdf836
2 changed files with 27 additions and 15 deletions

View file

@ -37,13 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<option value="de">Hochdeutsch</option>
<option value="en">English</option>
</select>
<div class="onoffswitch">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="onoffswitch" checked="checked" onclick="uhr.toggle()" />
<label class="onoffswitch-label" for="onoffswitch">
<div class="onoffswitch-inner"></div>
<div class="onoffswitch-switch"></div>
</label>
</div>
<p id="disclaimer">Created by fritteli, inspired by <a href="http://www.qlocktwo.com/">QLOCKTWO</a>.
<script type="text/javascript">
var uhr = new Uhr($('#uhr'), $('#theme'));