JQuery UI 对话框上的奇怪文本起始位置

发布于 12-10 18:01 字数 284 浏览 4 评论 0原文

因此,我有一个页面通过 JQuery UI 对话框显示大量信息,但它显示滚动中的文本。所以它是一个 html 的条款和条件块,每当我打开对话框显示它时,它就会显示所述 HTML 块滚动到中间而不是从顶部。您可以通过点击页脚中“términos y condiciones”的链接在 http://tequilanock.com 上查看它。我不会说西班牙语,但我认为这并不重要。您可以看到文本没有从一开始就出现,您必须滚动到顶部。可能是什么原因造成的?

So I have a page that shows a lot of info via JQuery UI dialogs but it displays the text mid scroll. So it is a terms and conditions bloc of html and whenever I open the dialog to show it it shows said block of HTML scrolled to the middle instead of from the top. You can see it at http://tequilanock.com by clicking the link in the footer that reads "términos y condiciones". I'ts in Spanish but I don't think it matters. You can see that the text does not appear from the beginning and you have to scroll yourself to the top. What might be causing this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

丢了幸福的猪2024-12-17 18:01:09

使用.scrollTop(0)可以设置滚动到顶部。

Using .scrollTop(0) can set the scroll to the top.

心是晴朗的。2024-12-17 18:01:09

在 Chrome 中看起来不错,什么浏览器有问题?

Looks fine in Chrome, what browser has issues?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文