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

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Microsoft Azure Blog
Microsoft Azure Blog
Cloudbric
Cloudbric
I
InfoQ
V
V2EX
博客园_首页
The Register - Security
The Register - Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
S
Secure Thoughts
Vercel News
Vercel News
Forbes - Security
Forbes - Security
云风的 BLOG
云风的 BLOG
PCI Perspectives
PCI Perspectives
L
LINUX DO - 最新话题
D
DataBreaches.Net
H
Hacker News: Front Page
Application and Cybersecurity Blog
Application and Cybersecurity Blog
B
Blog RSS Feed
A
About on SuperTechFans
N
News and Events Feed by Topic
Apple Machine Learning Research
Apple Machine Learning Research
Help Net Security
Help Net Security
Attack and Defense Labs
Attack and Defense Labs
N
Netflix TechBlog - Medium
Spread Privacy
Spread Privacy
F
Full Disclosure
Recorded Future
Recorded Future
AWS News Blog
AWS News Blog
博客园 - 【当耐特】
The Cloudflare Blog
T
Threatpost
T
Tor Project blog
Google DeepMind News
Google DeepMind News
C
CXSECURITY Database RSS Feed - CXSecurity.com
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
M
MIT News - Artificial intelligence
A
Arctic Wolf
C
Check Point Blog
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Hacker News - Newest:
Hacker News - Newest: "LLM"
WordPress大学
WordPress大学
Cyberwarzone
Cyberwarzone
小众软件
小众软件
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
Security Latest
Security Latest
The Last Watchdog
The Last Watchdog

涂涂研版

关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制! 关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制! 关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制! 关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制! 关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制! 关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制! 关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制! 关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制! 关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制!
关注IT技术和学习分享,提供ZBlogPHP主题模板插件定制!
2024-05-10 · via 涂涂研版

swipe左右滑动动态导航条

雨夜 教程、积累

1.一下替换没有使用,最终采用最下面的方式。

 {php}
        // print_r($modules['navbar']->Content);
         $nav=$modules['navbar']->Content;
       //  $nav=str_replace('', '',$nav);
      //   $nav=str_replace('', '',$nav);

// $nav=str_replace('class="', 'class="swiper-slide ',$nav);

         {/php}
         {$nav}{$nav}{$nav}{$nav}{$nav}{$nav}{$nav}{$nav}{$nav}{$nav}{$nav}{$nav}{$nav}

2.针对zblogphp进行改造:

采取的措施:

$(".swiper-wrapper li").addClass("swiper-slide");
var TouchNav = new Swiper('#tagnav', {
    freeMode: true,
    freeModeMomentumRatio: 0.5,
    slidesPerView: 'auto',
});

给幻灯片(导航条)添加swiper-slide 的class,才能满足条件。

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请通知我们,一经查实,本站将立刻删除。