鱼眼插件闪烁的问题,我不能摆脱! [英] Flickering problem with the fisheye plugin that I can't get rid of!

查看:147
本文介绍了鱼眼插件闪烁的问题,我不能摆脱!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用jqDock插件为我的网站创建了鱼眼菜单,并且设法使菜单处于活动状态,以便在不同的页面上仍可以扩展特定菜单元素.

I have used jqDock plugin to create fisheye menu for my web site and I managed to give the menu an active state so on different pages that specific menu element would remain expanded.

这是问题所在:如果在菜单的两个元素之间向上或向下移动鼠标,将会获得这种可怕的闪烁效果.另外,如果您或者只是在整个菜单上非常快速地水平移动鼠标,它就会有些fr!!!!!

Here is the problem: If you move your mouse in between the two elements of the menu upwards or downward, you'll get this terrible flicker effect. Also if you or just move your mouse horizontally and very fast on the entire menu it some how frieze !!!!

这是我网站的网址:链接到我的网站

here is the url to my website: link to the my web site

我确实搜索了整个论坛,也搜索了jQuery论坛本身,甚至发布了我的问题,但是我没有任何答案,除了那没有帮助.基本上,论坛上的问题更多是关于实现鱼眼插件或将其固定位置.

I did search the entire forum, I searched the jquery forum itself too, and even posted my question but I got no answer, except one which was not helpful. Basically the questions on the forums are more about implementing the fish-eye plug in, or giving it a fixed position .

非常感谢您的帮助 干杯 玛丽亚姆

I truly appreciate your help cheers MARYAM

这是我写的小jq,我们也不得不更改插件附带的jq库;让我知道是否需要添加更多代码以帮助您帮助我:)

Here is the little jq that I have written and we had to change the jq library that came with the pluin as well; Let me know if I need to include more code in order to help you help me :)

function loadPageContent(tagid, filename, actionafter, active) {
 $.ajax({
  url: filename,
  success: function(result) {
   $('#' + tagid).html(result);
   if (actionafter == 1){
        $("#scr-menu").jqDock({
     align: 'middle',
     size: 55,
     duration:800,
     coefficient :1.5,
     fadeIn: 0,
     distance: 130,
     step:50,
       active: active
     });
   }
  },
  error: function(result) {
   $('#' + tagid).html(result);
  }
 });
}

推荐答案

响应原始的如何自定义鱼眼菜单查询

这篇关于鱼眼插件闪烁的问题,我不能摆脱!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆