1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

edit js/ditto

This commit is contained in:
ruanyf 2014-04-29 22:39:09 +08:00
parent 8deca4b878
commit 3592cda3d6

View File

@ -232,6 +232,21 @@ function router() {
}, 200);
}
if(location.hash==='' || location.hash===menu[0]){
$('#pageup').style.display='none';
}
if (location.hash===menu[(menu.length-1)]){
$('pagedown').style.display='none';
}
$('#pageup').on('click',function (){
});
$('#pagedown').on('click',function (){
});
}).fail(function() {
show_error();