lavalamp jquery没有链接通过 [英] lavalamp jquery not linking through
本文介绍了lavalamp jquery没有链接通过的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正努力让我的lavalamp在我正在重新设计的网站上工作。 jquery和链接取自上一个网站,但是当你点击它们时它们不起作用。
I'm struggling getting my lavalamp to work on a site i'm redesigning. the jquery and links were taken from the previous site but they're not working when you click on them.
注意所有页面还没有完成,关于我们页面是住在网站上查看
note all pages aren't finished yet, about us page is live on the site to check
www.alwaystwisted.com/sandbox/stagecraft/index.html
任何想法?
我确定这很简单,但对我来说还是太完美了。
I'm sure it's something simple, but still too complext for me.
提前感谢
Stu
推荐答案
单击链接后返回false!
Your returning false when the link has been clicked!
$("#1, #2, #3").lavaLamp({
fx: "backout",
speed: 600,
click: function(event, menuItem) {
//this stops the link from following
return false;
}
});
这篇关于lavalamp jquery没有链接通过的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文