jQuery:覆盖淡入/淡出效果 [英] jQuery: override fadein/fadeout effects

查看:76
本文介绍了jQuery:覆盖淡入/淡出效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在页面加载时覆盖jQuery的淡入和淡出效果.怎么可能?

I want to override jQuery's fadein and fadeout effects when page loads. How it is possible?

谢谢.

推荐答案

您可以覆盖fadeIn和fadeOut ... 试试这个

You can override fadeIn and fadeOut ... try this

jQuery.fn.fadeIn = function() {
  // yourcode here
}

jQuery.fn.fadeOut = function() {
  // yourcode here
}

观看电影链接

这篇关于jQuery:覆盖淡入/淡出效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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