lavalamp 菜单在 drupal 中不起作用
我正在使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
更改
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];