lavalamp 菜单在 drupal 中不起作用

发布于 2024-11-25 00:13:41 字数 924 浏览 0 评论 0原文

我正在使用 drupal6

<script type="text/javascript" src="http://temp.lmfast1/Travancore/sites/all/themes/artsy/js/jquery.lavalamp-1.3.5.min.js">

</script>

<script type="text/javascript" src="http://temp.lmfast1/Travancore/sites/all/themes/artsy/js/jquery.easing.1.3.js">

</script>

<script type="text/javascript" src="http://temp.lmfast1/Travancore/sites/all/themes/artsy/js/jquery-1.6.1.min.js"></script>

    <script type="text/javascript">

    $(document).ready(function()
{

        $(document).pngFix();

    });

</script>

<script type="text/javascript">

$(document).ready(function() {


  $(".lavaLampmenu").lavaLamp({ fx: "backout", speed: 1200 }); 

    });

</script>

我将上面的代码包含在 page.tpl.php 中,

放入 jquery.lavalamp-1.3.5.min.js、jquery.easing.1.3.js 和 jquery-1.6.1.min.js

但 jquery 不起作用.悬停在菜单链接上没有任何反应

I am using drupal6

<script type="text/javascript" src="http://temp.lmfast1/Travancore/sites/all/themes/artsy/js/jquery.lavalamp-1.3.5.min.js">

</script>

<script type="text/javascript" src="http://temp.lmfast1/Travancore/sites/all/themes/artsy/js/jquery.easing.1.3.js">

</script>

<script type="text/javascript" src="http://temp.lmfast1/Travancore/sites/all/themes/artsy/js/jquery-1.6.1.min.js"></script>

    <script type="text/javascript">

    $(document).ready(function()
{

        $(document).pngFix();

    });

</script>

<script type="text/javascript">

$(document).ready(function() {


  $(".lavaLampmenu").lavaLamp({ fx: "backout", speed: 1200 }); 

    });

</script>

I included the above code in page.tpl.php

put jquery.lavalamp-1.3.5.min.js,jquery.easing.1.3.js andjquery-1.6.1.min.js

but jquery doesn't works.nothing happens on hover of menu links

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

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

发布评论

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

评论(1

你是暖光i 2024-12-02 00:13:41

更改

curr = $("li.current", this)[0] || $($li[o.linum]).addClass("当前")[0];

curr = $("li.active", this)[0] || $($li[o.linum]).addClass("active")[0];

change

curr = $("li.current", this)[0] || $($li[o.linum]).addClass("current")[0];

to

curr = $("li.active", this)[0] || $($li[o.linum]).addClass("active")[0];

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