Comments (3)
你的jQuery版本是多少?版本得3.3.1才行,如果不是3.3.1请把isMenu函数改为
function isMenu(){
if(document.getElementById('menu-1').style.display=='inline'||document.getElementById('menu-1').style.display=='block'){
$('#search-box').fadeOut(200);
$('#menu-page').fadeOut(200);
$('#menu-1').fadeOut(500);
$('#menu-2').fadeOut(400);
$('#menu-3').fadeOut(300);
} else {
$('#menu-1').fadeIn(150);
$('#menu-2').fadeIn(150);
$('#menu-3').fadeIn(150);
}
}
其实就是if的条件加了一个
from story-for-typecho.
@akkuman 主题引用的 jQuery,我没动
from story-for-typecho.
这就是这么设计的,没打算让菜单在点击页面其他处隐藏。毕竟整个菜单不大...
from story-for-typecho.
Related Issues (20)
- 你好 能添加个后台给我们开cdn吗 128mvps吃不起啊 HOT 1
- 底端文字悬浮问题 HOT 2
- 希望添加一个自定义首页文章封面的功能 HOT 5
- 文章背景图有一个bug,在手机端照片未完全裁剪 HOT 1
- ios显示时遇到一个问题 HOT 5
- 大佬,目前文章图右边裁剪正常,但是左边裁剪还有bug HOT 2
- 文章的标题从h1改为h2后,有一行文字显示有遮挡 HOT 3
- 希望得到一个主题配置页面 HOT 3
- 评论框需要优化 HOT 4
- 想知道长的很像的Hexo主题是怎么回事? HOT 2
- 引用块能加入自定义文字吗? HOT 2
- 文献引用好像无法显示 HOT 2
- 我能移植这个主题吗? (´・_・`) HOT 2
- 切换主题时发现提示"您选择的风格不存在" HOT 2
- 首页只能放5篇 HOT 1
- 主题无法解析Markdowm表格语法 HOT 1
- 如何默认显示评论? HOT 1
- 一些功能建议 HOT 2
- [bugs] 抓个虫,菜单栏bug,密码保护样式缺失 HOT 4
- 您好,我移植了您的主题到emlog HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from story-for-typecho.