Javascript jQuery scrollTo插件不';我不能用iPad
我有一个网站,它分为几个部分,我想用jqueryscrollto插件滚动到一个特定的部分。顺便说一下,这个网站是免费的。现在,这在台式PC上运行良好,但在iPad上不起作用。在这里,它有时会滚动到正确的区域,有时则不会 我使用以下代码:Javascript jQuery scrollTo插件不';我不能用iPad,javascript,Javascript,我有一个网站,它分为几个部分,我想用jqueryscrollto插件滚动到一个特定的部分。顺便说一下,这个网站是免费的。现在,这在台式PC上运行良好,但在iPad上不起作用。在这里,它有时会滚动到正确的区域,有时则不会 我使用以下代码: if(isiPad) { $.scrollTo( {top: 0 , left: "8060px"} , 1, { axis:'x', easing: 'easeInOut',onAfter:function(){ al
if(isiPad) {
$.scrollTo( {top: 0 , left: "8060px"} , 1, { axis:'x', easing: 'easeInOut',onAfter:function(){
alert("ok");
}});
}
正如我所说,它在桌面浏览器上运行得很好,但在iPad上却不行。谁能给我小费吗
提前感谢,
埃纳