DIV回来我现在有这方面的工作小提琴 - http://jsfiddle.net/B8Abd/JQUERY - 淡出specifc格,等待,淡入
我想用jquerys功能中淡出然后渐英寸目前的代码是这样的:
function changetoYellow() {
//change the color of the div
createGradientV([0, 0, 0], [255, 255, 0], 7, 200);
}
我想有这样的事情:
function changetoYellow() {
//fade to black:
$("#fadeBandsV").fadeOut(1000);
//change the color of the div
createGradientV([0, 0, 0], [255, 255, 0], 7, 200);
//fade from black:
$("#fadeBandsV").fadeIn(1000);
}
谢谢。
有什么问题?我在这里没有看到问题。 –
@ThinkingSites他想淡入下一个颜色,看到JSFiddle并点击文本(它们不是链接,所以没有手形光标) – Ozzy
我上面的代码是猜测,似乎没有工作,我道歉我我只是一个热情的初学者。谢谢。 – redditor