Sign inSign up

jQuery Mobile Scroll Positioning Plugin

Add-ons
2026-07-25 22:40 4 views • 0 downloads 5.7KB
jQuery Mobile Scroll Positioning Plugin

Note: Please view the demo on a mobile device!

Last Updated: 2018/5/29 16:50:08

Changelog:Updated with another version of the mobile category menu. Clicking the header navigates to another page. You can add data synchronization yourself. This is just a demonstration. Modifying the previous page would indeed be misleading, so I created a separate version.

1
$(window).width()/ 375 * 50 * 1 // Convert the header height to px

The interface looks a little rough because it was written using rem units, making it less friendly for browsing on PCs. Press F12 and switch to mobile device mode to view it.

The code is not particularly well written, but it achieves the effect I wanted.

Feel free to point out any mistakes. Thank you!