如何删除淡入淡出效果 [英] How to remove fadeIn effect

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

问题描述

嗨朋友们,

我有桌子,每行都有编辑按钮。

点击编辑,整个表使用以下代码获取 fadeTo

Hi friends,
I have table, where in each row has Edit button.
On click on Edit, the entire table gets fadeTo using the following code

$("#ProductListTable_Div").fadeTo("slow", 0.33);



当前行被替换为div,其中保存取消按钮



因此,当用户单击保存或取消按钮时,div将被隐藏,整个表将恢复到正常状态。



问题:

fadeTo效果仍然存在。我想删除fadeTo效果,以便表格可见。



任何想法,如何去做?



提前致谢


And the current row is replaced by div which has Save and Cancel Button

So when the user clicks the Save or Cancel button the div is hidden and the entire table is restored to normal state.

Problem:
The fadeTo effect still exist. I want to remove the fadeTo effect so that the table is visible.

Any idea, how to go about it?

Thanks in advance

推荐答案

(#ProductListTable_Div)。fadeTo(slow,0.33);
("#ProductListTable_Div").fadeTo("slow", 0.33);



并且当前行被替换为div,其中保存取消按钮



因此,当用户点击Save或Cancel按钮时,div被隐藏,整个表恢复到正常状态。



问题:

fadeTo效果仍然存在。我想删除fadeTo效果,以便表格可见。



任何想法,如何去做?



提前致谢


And the current row is replaced by div which has Save and Cancel Button

So when the user clicks the Save or Cancel button the div is hidden and the entire table is restored to normal state.

Problem:
The fadeTo effect still exist. I want to remove the fadeTo effect so that the table is visible.

Any idea, how to go about it?

Thanks in advance


您好,



您可以这样做:

Hi,

You can do it in this way:


#ProductListTable_Div )。fadeOut( slow function (){});
("#ProductListTable_Div").fadeOut("slow", function() {});





尝试使用此代码来删除该效果。



希望这有帮助!! :) :)



问候,

Praneet Nadkar



Try and use this code where you want to remove that effect.

Hope this helps !! :) :)

Regards,
Praneet Nadkar


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

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