English 中文(简体)
Strange jquerydown menu问题?
原标题:Strange jquery dropdown menu issue?
  • 时间:2011-11-11 07:32:49
  •  标签:
  • jquery
  • yii

I have a very strange bug in a website: http://brightsystems.eu/vini/index.php/en The main menu sometimes gets messed up. The strangest thing, if I double click on the browser refresh, the chances that the page will be displayed properly afterwards. There isn t really a method to anything, just that usually during a session the menu gets messed up all of a sudden.

在当地开发该网站时,这从来不是问题。 我确信,国家安全局是ok的,否则它根本就没有正确展示。

我用一个快速的固定装置,一旦负荷运转,每页就会复发,但这实际上不是一个持久的解决办法。

主要菜单是在酒类和工地,使用 y子框架。

任何人都有类似的经验或解决办法?

问题回答

大型汽车从主要集装箱高度自动下降后计算出最高额。

http://brightsystems.eu/vini/js/jquery.dcmegamenu.1.3.3.js line 200
var menuHeight = $( > li > a ,$dcMegaMenuObj).outerHeight(true);

冰川的可能原因是,有时在主菜完全实现之前就计算了<条码>menuHels。 可能的解决办法是:

(1) <代码><ul id=“main-menu”类别=“mega-menu”>应具有固定高度,在 cs中界定(34px或等)。

(2) 大型菜单应在稍微拖延之后启动,以确保主要菜单完全到位。 (坏的解决办法)

<><>Edit>:

努力在绿化物中加以固定

.green ul.mega-menu li a.dc-mega {
    position: relative;
    height: 34px;                 <-- add this 
}




相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签