おそらく私は間違ったことを知っています!しかし何?アニメーションjQueryはCSS属性で正しく書かれません
$(".page-splash-page").bind("mousewheel DOMMouseScroll", function(){
$(this).animate({
-webkit-animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
-moz-animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
}, 1000, function() {
{ window.location.href = "http:..../work/"; }
});
});
$(".page-splash-page").on("click touchstart", function() {
$(this).animate({
-webkit-animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
-moz-animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
}, 1000, function() {
{ window.location.href = "http:...../work/"; }
});
});
$(".page-splash-page").on("touchmove", function() {
$(this).animate({
-webkit-animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
-moz-animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both,
}, 1000, function() {
{ window.location.href = "http:..../work/"; }
});
});
申し訳ありませんが、私はこの機能が働くことを願っていますが、私は、JSやjQueryのそんなに専門家ではないんですよ! いくつかは私を助けることができます!ありがとうございました!
'animation'をアニメーション????それはちょうど間違っているだけで、そのアニメーションで新しいクラスを追加してから、タイムアウトしてウィンドウに移動します。位置 – DaniP
http://stackoverflow.com/help/how-to-ask –
まず、開発者コンソールエラーの場合。 – Pango