惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
V
Visual Studio Blog
P
Privacy International News Feed
月光博客
月光博客
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
Lohrmann on Cybersecurity
N
News and Events Feed by Topic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
Webroot Blog
Webroot Blog
T
Threatpost
宝玉的分享
宝玉的分享
The Last Watchdog
The Last Watchdog
小众软件
小众软件
L
LINUX DO - 最新话题
C
Cisco Blogs
T
Troy Hunt's Blog
Schneier on Security
Schneier on Security
酷 壳 – CoolShell
酷 壳 – CoolShell
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
G
GRAHAM CLULEY
有赞技术团队
有赞技术团队
Know Your Adversary
Know Your Adversary
博客园 - 叶小钗
罗磊的独立博客
V
V2EX
博客园 - Franky
P
Proofpoint News Feed
SecWiki News
SecWiki News
腾讯CDC
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
博客园 - 三生石上(FineUI控件)
S
Secure Thoughts
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
PCI Perspectives
PCI Perspectives
V2EX - 技术
V2EX - 技术
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
aimingoo的专栏
aimingoo的专栏
Cisco Talos Blog
Cisco Talos Blog
N
News and Events Feed by Topic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题

饭喵

关于python使用支付宝当面付报错的解决方案 – 饭喵 备份hassos的备份 – 饭喵 使用小爱同学语音控制home assistant – 饭喵 当网页启用gzip压缩时,node-red GET请求乱码的解决方案 – 饭喵 以ubuntu为例在esxi安装虚拟机 – 饭喵 esxi中的网络拓扑图 – 饭喵 openWRT设置host文件 – 饭喵 ubuntu部署seafile以及Nginx 环境下部署 Seahub/SeafServer – 饭喵 基于ESXI的硬件虚拟化软路由+HTPC+NAS全攻略 – 饭喵
写了一个响应式可自定义的简洁导航 – 饭喵
作者: 凉拌炒蛋炒饭 · 2021-10-28 · via 饭喵

写了一个响应式可自定义的简洁导航

效果预览:

https://blog.fanmiao.site/nav/

已经放到了GitHub

https://github.com/imwyh/nav

使用方法

编辑bd.js中的json,添加自定义导航页面或者搜索页面。

最终JS根据bd内容生成完整网页。

技巧

1.输入框回车直接使用默认搜索。

2.输入内容后可用方向键上下选择搜索引擎。

3.点击默认搜索(如demo中谷歌)没有任何反应是为了兼容移动端无法区分click和hover。

4.双击输入框清空内容。

5.可以设置一个默认网页使click搜索引擎时直接前往。

6.鼠标或者触屏滑动中间div部分可左右切换页。

注意事项

1.编辑json时小心标点符号。

2.可以编辑index.html中最后一行script修改动态背景。

3.可以编辑include/style.css中:root修改配色。

4.可以编辑include/style.css最后的#background修改背景颜色。

5.到这个链接获取或者修改mdi图标:https://materialdesignicons.com/ (此网页加载较慢)。

6.没有合适mdi图标可以直接使用文字代替,bd.js有示范。