当小于 650 时,导航的显示通过按钮点击控制
This commit is contained in:
@@ -165,6 +165,19 @@ var timeline = {
|
||||
timeline._initIndexList();
|
||||
timeline._initArticleList();
|
||||
timeline._setNavCurrent();
|
||||
|
||||
// init header list
|
||||
$(".ico-list").click(function() {
|
||||
if ($(".header > .container > form").css("height") === "0px") {
|
||||
$(".header > .container > ul, .header > .container > form").css({
|
||||
"height": "auto"
|
||||
});
|
||||
} else {
|
||||
$(".header > .container > ul, .header > .container > form").animate({
|
||||
"height": "0px"
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
translate: function() {
|
||||
window.open("http://translate.google.com/translate?sl=auto&tl=auto&u=" + location.href);
|
||||
|
4
timeline/js/timeline.min.js
vendored
4
timeline/js/timeline.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user