jGrowl 粘滞在 IE8 中不起作用

发布于 2024-09-25 22:54:31 字数 340 浏览 0 评论 0原文

我正在使用 jGrowl jQuery 状态消息插件在页面加载时显示粘性消息,它在除 Internet Explorer 8 之外的所有浏览器上都能完美运行。在这个浏览器中,仍然有一个小块,大约 2 行高,但没有文本,即使在关闭粘性消息后也是如此。它没有关闭按钮或任何其他东西。这是我的代码,放置在 IE 的 document.onload 函数中:

$.jGrowl("Hi! Welcome to the site!", { sticky: true });

所有其他 jGrowl 设置都设置为默认值,这是页面右上角的浮动消息。

有人以前遇到过这个问题,也许知道如何解决它吗?

I'm using the jGrowl jQuery status-message plugin to display a sticky message on page load, and it works perfectly on all browsers except Internet Explorer 8. In this browser, there remains a small block, about 2 lines high but with no text, even after closing the sticky message. It does not have a close button, or anything, for that matter. Here is my code, which is placed in the document.onload function for IE:

$.jGrowl("Hi! Welcome to the site!", { sticky: true });

All other jGrowl settings are set to default, which is a floating message at the top right of the page.

Has anyone encountered this problem before, and perhaps know how to fix it?

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

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

发布评论

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

评论(1

够钟 2024-10-02 22:54:31

这似乎是 jGrowl 中的一个错误,可能是由于与 jQuery 的后续版本不兼容(最后一次更新是在 2008 年 3 月)。

也许你可以尝试NMS消息

This seems to be a bug in jGrowl, perhaps as a result of incompatibility with later releases of jQuery (the last update was in March 2008).

Maybe you can try NMS Message?

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