html5 - 开发微信页面的时候,使用了html锚点用来在同一个页面中定位,在苹果手机微信浏览器运行,每次点击锚点定位会多出一个页面?
PHP中文网
PHP中文网 2017-04-18 09:28:39
0
3
517

开发微信页面的时候,使用了html锚点用来在同一个页面中定位,发现在苹果手机微信浏览器打开后,点击菜单锚点定位,滑动页面可以看到运行了多个页面(每次点击锚点定位会多出一个页面),请问下这是怎么回事?而且在初次打开页面点击最后2个菜单的时候会闪屏一下,是不是和上面说的问题有关系?

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
左手右手慢动作

If you draw points for positioning, it is recommended that you use JS to implement these functions.

小葫芦

If you use href, you should prevent the default click event, otherwise it will jump in safari

Ty80

Add <a></a> in the

tag of html
target="_blank"
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!