Slideup\使用 jquery 动画下一页
我使用以下内容在当前页面中加载新页面,无需刷新。
$(document).ready(function(){
$("#leftnav").click(function(){
$.post("regions.php",function(data){document.write(data)},"html")
return false;
});
});
是否可以使用 jquery 对新页面进行动画处理,例如向上滑动新页面?
谢谢,
I use the following to load a new page within the current page, no refresh.
$(document).ready(function(){
$("#leftnav").click(function(){
$.post("regions.php",function(data){document.write(data)},"html")
return false;
});
});
Is it possible to animate the new page with jquery, like slide up the new page?
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下面将把新内容添加到隐藏的 div 中,附加到正文中,然后向下滑动。
The following will add the new content to a hidden div, append to the body and then slideDown.