Update index.html
This commit is contained in:
parent
77f9628924
commit
a639f9c95b
|
@ -99,7 +99,7 @@
|
||||||
function openMenu() {
|
function openMenu() {
|
||||||
$(function(){
|
$(function(){
|
||||||
if ( $("#rightmenu").attr("data-open") != "true" ) {
|
if ( $("#rightmenu").attr("data-open") != "true" ) {
|
||||||
$("rightmenu").css("display", "inline");
|
$("#rightmenu").css("display", "inline");
|
||||||
$("#rightmenu").animate({left: "-=" + $("#rightmenu").css("width")}, 1000);
|
$("#rightmenu").animate({left: "-=" + $("#rightmenu").css("width")}, 1000);
|
||||||
$("#rightmenu").attr("data-open", "true");
|
$("#rightmenu").attr("data-open", "true");
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
$(function(){
|
$(function(){
|
||||||
if ( $("#rightmenu").attr("data-open") != "false" ) {
|
if ( $("#rightmenu").attr("data-open") != "false" ) {
|
||||||
$("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000);
|
$("#rightmenu").animate({left: "+=" + $("#rightmenu").css("width")}, 1000);
|
||||||
$("rightmenu").css("display", "none");
|
$("#rightmenu").css("display", "none");
|
||||||
$("#rightmenu").attr("data-open", "false");
|
$("#rightmenu").attr("data-open", "false");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue