Update index.html

This commit is contained in:
Scott Wallace 2014-05-15 09:25:25 +01:00
parent 53a621bcc9
commit a0026bbd20

View file

@ -60,6 +60,7 @@
width: 15em;
height: 100%;
padding: 1em;
display: none;
}
.menutitle {
@ -99,6 +100,7 @@
$(function(){
if ( $("#rightmenu").attr("data-open") != "true" ) {
$("#rightmenu").animate({left: "-=" + $("#rightmenu").css("width")}, 1000);
$("rightmenu").css("display", "initial");
$("#rightmenu").attr("data-open", "true");
}
});
@ -108,6 +110,7 @@
$(function(){
if ( $("#rightmenu").attr("data-open") != "false" ) {
$("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000);
$("rightmenu").css("display", "none");
$("#rightmenu").attr("data-open", "false");
}
});