Team:Freiburg/Templates/html/js.html
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | <button class="invertbutton" onclick="invertColors();">Inv.</button> | ||
<script> | <script> | ||
+ | function invertColors() { | ||
+ | $('html').toggleClass('inverted-colors'); | ||
+ | }; | ||
(function(){ | (function(){ | ||
var DEBUG = false; | var DEBUG = false; |
Revision as of 18:03, 14 October 2014