Commit 0393744f authored by Mathieu Giraud's avatar Mathieu Giraud

index.html, js/menu.js: presentation mode

parent 37c6d35a
......@@ -239,8 +239,9 @@
<div style="float: right" class="menu" onmouseover="showSelector('paletteSelector');"> palette
<div id="paletteSelector" class="selector"><div>
<a class="buttonSelector" onclick="changeStyle('solarizeD')">dark</a>
<a class="buttonSelector" onclick="changeStyle('solarizeL')">light</a>
<a class="buttonSelector" onclick="changeStyle('display')">light (presentation)</a>
<a class="buttonSelector" onclick="changeStyle('solarizeD')">dark</a>
</div></div>
</div>
......
......@@ -76,6 +76,7 @@ function initMenu () {
function changeStyle(newStyle){
if (newStyle=="solarizeD") document.getElementById("palette").href="css/dark.css";
if (newStyle=="solarizeL") document.getElementById("palette").href="css/light.css";
if (newStyle=="display") document.getElementById("palette").href="css/talk.css";
m.update()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment