将 JGrowl 与主题滚轮结合使用

发布于 2024-10-05 16:07:01 字数 762 浏览 0 评论 0原文

我想知道如何将我的 Jquery UI 主题与 JGrowl 一起使用。该网站说可以做到。问题在这里得到解答:

How do I themeroll jGrowl

提问者似乎对答案,但是我做了解决方案所说的:包含 Jquery ui css 文件。

<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.5.custom.min.js"></script>
<link type="text/css" href="css/redmond/jquery-ui-1.8.5.custom.css" rel="stylesheet" />
<script type="text/javascript" src="jgrowl/jquery.jgrowl.js"></script>
<link rel="stylesheet" href="jgrowl/jquery.jgrowl.css" type="text/css"/>

但它不使用我的自定义主题。我尝试不链接到 jgrowl.css 文件,但它根本无法正常工作。

有什么想法吗?谢谢!

I want to know how to use my Jquery UI theme with JGrowl. The site says it can be done. The questions is answered here:

How do I themeroll jGrowl

and the asker seemed happy with the answer, however I did what the solution said: include the Jquery ui css file.

<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.5.custom.min.js"></script>
<link type="text/css" href="css/redmond/jquery-ui-1.8.5.custom.css" rel="stylesheet" />
<script type="text/javascript" src="jgrowl/jquery.jgrowl.js"></script>
<link rel="stylesheet" href="jgrowl/jquery.jgrowl.css" type="text/css"/>

But it does not use my custom theme. I tried not linking to the jgrowl.css file, but then it did not work right at all.

Any ideas? Thanks!

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

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

发布评论

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

评论(1

层林尽染 2024-10-12 16:07:01

您担心它可能确实有效,但出现了意外的颜色。要对此进行测试,请切换到不同的 jQuery 主题,并查看 jGrowl 元素是否发生变化。

如果没有,请检查 jGrowl 版本。根据 http://forum.jquery.com/topic/jgrowl-question,版本1.2.0 不会自动使用 jQuery-ui 主题,但 1.2.4 版本会自动使用。

You express concern that it might actually be working, but with unexpected coloring. To test this, switch to a different jQuery theme, and see if the jGrowl elements change.

If they don't, check the jGrowl version. According to http://forum.jquery.com/topic/jgrowl-question, version 1.2.0 doesn't use jQuery-ui themes automatically, but version 1.2.4 does.

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