前言: pjax 是 HTML5 pushState 以及 Ajax 两项技术的简称,综合这两个技术可以实现在不刷新页面的情况下载入HTML网页,带给你超快速的浏览器体验,而且有固定链接、标题以及后退按钮都是有效的。具体效果可以看本站,为什么分享?因为今...
阅读全文...

h5实现拨打电话及发送短信、邮件代码
在页面上写按钮或链接,点击即可实现拨打电话功能[note-ico type="blue modern" ico=""]功能示范[/note-ico][btn href="tel:10086" type="outline purple center" ic...
阅读全文...
阅读全文...

用python写一个简单的爬虫
前言: 爬虫是一种自动化程序,用于从互联网上获取数据。它能够模拟人类浏览网页的行为,访问网页并提取所需的信息。爬虫在很多领域都有广泛的应用,例如数据采集、信息监控、搜索引擎索引等。[note type="primary modern"]下面是一个使用Py...
阅读全文...
阅读全文...

PHP字符串的截取方式
1、中文截取:mb_substr()。mb_substr(s t r ,
str,str,start,l e n g t h ,
length,length,encoding)实例echo mb_substr('这个真的很
nice',0,3,'u...
阅读全文...
阅读全文...