没有 jQuery mobile 的 JQuery 移动页面转换 [英] JQuery mobile page transition without jQuery mobile

查看:25
本文介绍了没有 jQuery mobile 的 JQuery 移动页面转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种在不使用完整 JQuery 库的情况下在移动站点上生成 jQuery 移动水平页面过渡效果的方法.有谁知道使用更小的精简特定 JS 脚本的解决方案?我们正在努力将文件大小保持在最低限度.

I am looking for a way to produce the jQuery mobile horizontal page transition effect on a mobile site without using the full JQuery lib. Does anyone know of a solution using a much smaller stripped down specific JS script? We are trying to keep file sizes to a minimum.

推荐答案

我找到了一个不错的解决方案.查看 fasw 的非 Jquery 页面转换轻量级".

I found a decent solution to this. Check out 'Non-Jquery Page Transitions lightweight' by fasw.

演示在这里:http://www.fasw.ws/demos/transitions1/slide1.html

来源:http://www.fasw.ws/faswwp/non-jquery-页面转换轻量级/

这是 1.7k 的 JS 产生的过渡,就像整个移动 jQuery Lib 产生的过渡一样.

This is 1.7k of JS producing transitions that are just like those produced by the whole mobile jQuery Lib.

这篇关于没有 jQuery mobile 的 JQuery 移动页面转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆